How are the HTTP/1, H2 and H3 protocols switched? #7
kolinfluence
started this conversation in
Discussions
Replies: 1 comment 2 replies
-
(I've converted this into a discussion thread.) The browser is the one that chooses if it uses HTTP/1 or H2. H3 is a special case and the browser must first contact the server, from which it obtains a special header indicating where the H3 endpoint is. Getting back to H2, it works only over TLS, and the server states in the ALPN TLS extension that it supports All the Go server-side code related to this is inside the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
can u show the code part where http1.1 or http2 or http3 is switched by browser detection ... or how is it done?
i cant seem to find that part. it's fantastic work by the way.
Beta Was this translation helpful? Give feedback.
All reactions