mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
21 lines
708 B
Makefile
21 lines
708 B
Makefile
Long: http3
|
|
Tags: Versions
|
|
Protocols: HTTP
|
|
Added: 7.66.0
|
|
Mutexed: http1.1 http1.0 http2 http2-prior-knowledge
|
|
Requires: HTTP/3
|
|
Help: Use HTTP v3
|
|
See-also: http1.1 http2
|
|
Category: http
|
|
Example: --http3 $URL
|
|
---
|
|
**WARNING**: this option is experimental. Do not use in production.
|
|
|
|
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
|
|
redirected via Alt-Svc, but this option allows a user to circumvent that when
|
|
you know that the target speaks HTTP/3 on the given host and port.
|
|
|
|
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.
|