Skip to content

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

Merged
alexcrichton merged 1 commit into
sagebind:mainfrom
jcamiel:fix-comment-curl-http-version-3
Aug 10, 2023
Merged

alexcrichton merged 1 commit into
sagebind:mainfrom
jcamiel:fix-comment-curl-http-version-3

Conversation

@jcamiel

@jcamiel jcamiel commented Aug 10, 2023 •

Copy link
Copy Markdown
Contributor

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 sagebind:main Aug 10, 2023
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