You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our doc comment was lifted straight from the libcurl man page, but it looks like it actually changed behaviors in version 7.88 when CURL_HTTP_VERSION_3ONLY was added: curl/curl@a56d2b0. When we initially added this, CURL_HTTP_VERSION_3didn't allow any fallback.
But we can update this now. Maybe worth noting in the doc comment that the behavior varies between version >=7.66,<7.88 and >=7.88, depending on which version of libcurl you are linked to.
To use HTTP 3 we can use the following code:
HttpVersion::V3
is defined as ascurl-rust/src/easy/handler.rs
Lines 455 to 465 in ff6ad21
And
curl_sys::CURL_HTTP_VERSION_3
is defined here:curl-rust/curl-sys/lib.rs
Lines 663 to 665 in ff6ad21
The comment of this flag states that
Whereas in
curl.h
the corresponding flag is definedhttps://github.com/curl/curl/blob/9bca45dba81d77de06757ce13fc9193e09e010b5/include/curl/curl.h#L2272-L2274
libcurl seems to fallback when using this flag whereas comments in crates curl imply that there is no fallback...
The text was updated successfully, but these errors were encountered: