Skip to content

Move DoH public/private host rules into the DnsQuery#9593

Merged
swankjesse merged 1 commit into
masterfrom
jwilson.0725.simpler_cancels
Jul 25, 2026
Merged

Move DoH public/private host rules into the DnsQuery#9593
swankjesse merged 1 commit into
masterfrom
jwilson.0725.simpler_cancels

Conversation

@swankjesse

Copy link
Copy Markdown
Collaborator

I had attempted to avoid making StateMachineDnsCall have its own TaskRunner, instead relying exclusively on the DnsQuery callback for concurrency. This was more complexity than it was worth, and it interacted awkwardly with the cache.

Now the DnsOverHttps DnsQuery enforces this invariant, and the adjacent code is simpler because of it.

I had attempted to avoid making StateMachineDnsCall have its own
TaskRunner, instead relying exclusively on the DnsQuery callback
for concurrency. This was more complexity than it was worth, and
it interacted awkwardly with the cache.

Now the DnsOverHttps DnsQuery enforces this invariant, and the
adjacent code is simpler because of it.
@swankjesse
swankjesse merged commit 23f3896 into master Jul 25, 2026
42 of 47 checks passed
@swankjesse
swankjesse deleted the jwilson.0725.simpler_cancels branch July 25, 2026 21:53
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