Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DoH3 or HTTP3 #1029

Closed
UjuiUjuMandan opened this issue Jan 2, 2024 · 3 comments
Closed

DoH3 or HTTP3 #1029

UjuiUjuMandan opened this issue Jan 2, 2024 · 3 comments
Labels
Enhancement Request Future A longer term issue, possibly addressed in the future.

Comments

@UjuiUjuMandan
Copy link

UjuiUjuMandan commented Jan 2, 2024

Motivation
We can utilize HTTP/3 in DoH implementation. Cloudflare, Google and NextDNS server already support this!

Screenshot 2024-01-03 at 01 23 10

NextDNS log

Describe the solution you'd like.
Enable HTTP/3 in DoH by default, if not available, fallback to HTTP/2.

@rthalley
Copy link
Owner

rthalley commented Jan 2, 2024

Our current plan for this is to support it when httpx supports it, so we can keep using just one HTTP client mechanism.

@UjuiUjuMandan
Copy link
Author

I found this: encode/httpx#275 . Hope they will support it soon!

@rthalley rthalley added the Future A longer term issue, possibly addressed in the future. label Jan 5, 2024
@rthalley
Copy link
Owner

We now support HTTP/3, just pass h3=True to https(). We will switch to the httpx implementation when it comes out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Request Future A longer term issue, possibly addressed in the future.
Projects
None yet
Development

No branches or pull requests

2 participants