2022-06-14 06:12:03 +08:00
|
|
|
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
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
|
|
|
|
Mutexed: http1.1 http1.0 http2 http2-prior-knowledge
|
|
|
|
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
|
|
|
---
|
|
|
|
Tells curl to use HTTP version 3 directly to the host and port number used in
|
|
|
|
the URL. A normal HTTP/3 transaction will be done to a host and then get
|
2021-07-19 09:51:43 +08:00
|
|
|
redirected via Alt-Svc, but this option allows a user to circumvent that when
|
2019-07-22 05:48:58 +08:00
|
|
|
you know that the target speaks HTTP/3 on the given host and port.
|
|
|
|
|
2019-08-07 20:17:48 +08:00
|
|
|
This option will make curl fail if a QUIC connection cannot be established, it
|
|
|
|
cannot fall back to a lower HTTP version on its own.
|