Skip to content

add options for http3-only transfer - #10264

Merged
bagder merged 2 commits into
masterfrom
bagder/http3-opts
Jan 12, 2023
Merged

bagder merged 2 commits into
masterfrom
bagder/http3-opts

Conversation

@bagder

@bagder bagder commented Jan 9, 2023

Copy link
Copy Markdown
Member

... and make the previous http3 become become the one that allows a fallback to a lower HTTP version if the HTTP/3 connection fails.

Reminder: HTTP/3 support is experimental. We reserve the right to do changes like this.

@bagder
bagder marked this pull request as ready for review January 12, 2023 13:33
@bagder
bagder force-pushed the bagder/http3-opts branch from 33433c3 to 463b194 Compare January 12, 2023 13:34
@bagder
bagder requested a review from icing January 12, 2023 13:35
Comment thread docs/cmdline-opts/http3-only.d Resolved
Comment thread docs/cmdline-opts/http3-only.d Resolved
Comment thread docs/cmdline-opts/http3.d Resolved
Comment thread docs/cmdline-opts/http3.d Resolved
@bagder
bagder force-pushed the bagder/http3-opts branch from 463b194 to 9fbd0aa Compare January 12, 2023 14:55
As the previous CURL_HTTP_VERSION_3 option gets a slightly altered meaning.

Closes #10264
Warning: --http3 and --http3-only are subject to change again (or be
removed) before HTTP/3 support goes non-experimental.

Closes #10264
@bagder
bagder force-pushed the bagder/http3-opts branch from 970e423 to 13991d6 Compare January 12, 2023 15:18
@bagder bagder closed this in a56d2b0 Jan 12, 2023
@bagder
bagder merged commit 13991d6 into master Jan 12, 2023
@bagder
bagder deleted the bagder/http3-opts branch January 12, 2023 16:57
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
As the previous CURL_HTTP_VERSION_3 option gets a slightly altered meaning.

Closes curl#10264
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
Warning: --http3 and --http3-only are subject to change again (or be
removed) before HTTP/3 support goes non-experimental.

Closes curl#10264
alexcrichton pushed a commit to sagebind/curl-rust that referenced this pull request 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants