Skip to content

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

Open
swankjesse wants to merge 3 commits into
mainfrom
jwilson.0810.ports
Open

Change DnsOverHttps to query the correct port per Attrleaf#9650
swankjesse wants to merge 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...

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