Skip to content

Conversation

@PeterCxy
Copy link
Contributor

@PeterCxy PeterCxy commented Oct 22, 2025

reqwest will use HTTP/2 unless http1_only is set. Setting http2_prior_knowledge only causes it to not even attempt other HTTP versions.

http1_only is also removed for the non-SSL code path.

reqwest will use HTTP/2 unless `http1_only` is set. Setting
`http2_prior_knowledge` only causes it to not even attempt other HTTP
versions.
@PeterCxy PeterCxy merged commit 0e30b7b into main Oct 22, 2025
5 of 6 checks passed
@PeterCxy PeterCxy deleted the peter/fix-consul-reqwest branch October 22, 2025 21:21
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

Successfully merging this pull request may close these issues.

3 participants