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

Fix semantic of HttpVersion::V3 for libcurl >= 7.88.0 #521

Merged

Conversation

jcamiel
Copy link
Contributor

@jcamiel jcamiel commented Aug 10, 2023

CURL_HTTP_VERSION_3, introduced in curl 7.66.0, has changed with curl 7.88.0. Prior 7.88.0, CURL_HTTP_VERSION_3 implies no fallback if error; since 7.88.0, CURL_HTTP_VERSION_3 can fallback to HTTP/1 or HTTP/2. There is a new flag CURL_HTTP_VERSION_3_ONLY that doesn't fallback. See curl/curl#10264.

Fixes #519.

CURL_HTTP_VERSION_3, introduced in curl 7.66.0, has changed with curl 7.88.0. Prior 7.88.0, CURL_HTTP_VERSION_3 implies no fallback if error; since 7.88.0, CURL_HTTP_VERSION_3 can fallback to HTTP/1 or HTTP/2.
There is a new flag CURL_HTTP_VERSION_3_ONLY that doesn't fallback. See curl/curl#10264.
@alexcrichton alexcrichton merged commit 16e7f87 into alexcrichton:main Aug 10, 2023
13 checks passed
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.

Incorrect comment for CURL_HTTP_VERSION_3
2 participants