Skip to content

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

Open
swankjesse wants to merge 1 commit into
masterfrom
jwilson.0725.simpler_cancels
Open

Move DoH public/private host rules into the DnsQuery#9593
swankjesse wants to merge 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.
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.

1 participant