2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2019-08-07 20:17:48 +08:00
|
|
|
Long: http3
|
2019-07-22 05:48:58 +08:00
|
|
|
Tags: Versions
|
|
|
|
Protocols: HTTP
|
|
|
|
Added: 7.66.0
|
2023-01-09 22:00:34 +08:00
|
|
|
Mutexed: http1.1 http1.0 http2 http2-prior-knowledge http3-only
|
2019-07-22 05:48:58 +08:00
|
|
|
Requires: HTTP/3
|
|
|
|
Help: Use HTTP v3
|
2019-08-07 20:17:48 +08:00
|
|
|
See-also: http1.1 http2
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: http
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --http3 $URL
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: mutex
|
|
|
|
Experimental: yes
|
2019-07-22 05:48:58 +08:00
|
|
|
---
|
2023-01-09 22:00:34 +08:00
|
|
|
Tells curl to try HTTP/3 to the host in the URL, but fallback to earlier
|
2023-02-08 05:50:36 +08:00
|
|
|
HTTP versions if the HTTP/3 connection establishment fails. HTTP/3 is only
|
2023-01-09 22:00:34 +08:00
|
|
|
available for HTTPS and not for HTTP URLs.
|
2019-07-22 05:48:58 +08:00
|
|
|
|
2023-01-09 22:00:34 +08:00
|
|
|
This option allows a user to avoid using the Alt-Svc method of upgrading to
|
|
|
|
HTTP/3 when you know that the target speaks HTTP/3 on the given host and port.
|
|
|
|
|
|
|
|
When asked to use HTTP/3, curl will issue a separate attempt to use older HTTP
|
|
|
|
versions with a slight delay, so if the HTTP/3 transfer fails or is very slow,
|
|
|
|
curl will still try to proceed with an older HTTP version.
|
|
|
|
|
2023-02-08 05:50:36 +08:00
|
|
|
Use --http3-only for similar functionality *without* a fallback.
|