Skip to content

Change DnsOverHttps to query the correct port per Attrleaf - #9650

Merged
swankjesse merged 3 commits into
mainfrom
jwilson.0810.ports
Aug 11, 2026
Merged

Change DnsOverHttps to query the correct port per Attrleaf#9650
swankjesse merged 3 commits into
mainfrom
jwilson.0810.ports

Conversation

@swankjesse

Copy link
Copy Markdown
Collaborator

No description provided.

testStateMachineDnsCall {
val call =
newCall(
request = Dns.Request(hostname = "lysine.dev", port = 80),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not for 80? Isn't 443 the default?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm... there's a special rule where the presence of an HTTPS record is supposed to automatically promote HTTP to HTTPS.

But I can do that a nicer way, by picking port 443 when we create the query. Let me do that...

@swankjesse
swankjesse merged commit e5393f0 into main Aug 11, 2026
24 of 26 checks passed
@swankjesse
swankjesse deleted the jwilson.0810.ports branch August 11, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants