Skip to content
Discussion options

You must be logged in to vote

I suspect the browser isn't actually connecting with http2. Hyper does not support upgrading http1 to http2, so you have to connect with http2 right away.

Try with curl's --http2-prior-knowledge option.

It does indeed work because tonic uses axum and http2.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Nikaidou-Shinku
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants