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

client fallback to http2 #4336

Open
micbarak opened this issue Feb 28, 2024 · 1 comment
Open

client fallback to http2 #4336

micbarak opened this issue Feb 28, 2024 · 1 comment

Comments

@micbarak
Copy link

I'm using this project for my Go client. In the event that the server I'm connecting to doesn't support HTTP/3, I'd like to fallback to HTTP/2. What is the correct approach to accomplish this?

@marten-seemann
Copy link
Member

The "correct" way would be to use Happy Eyeballs (#3772). Since that's not implemented yet, you can do an error assertion on the error returned, and retry on HTTP/2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants