docs/cmdline: change to .md for cmdline docs
- switch all invidual files documenting command line options into .md,
as the documentation is now markdown-looking.
- made the parser treat 4-space indents as quotes
- switch to building the curl.1 manpage using the "mainpage.idx" file,
which lists the files to include to generate it, instead of using the
previous page-footer/headers. Also, those files are now also .md
ones, using the same format. I gave them underscore prefixes to make
them sort separately:
_NAME.md, _SYNOPSIS.md, _DESCRIPTION.md, _URL.md, _GLOBBING.md,
_VARIABLES.md, _OUTPUT.md, _PROTOCOLS.md, _PROGRESS.md, _VERSION.md,
_OPTIONS.md, _FILES.md, _ENVIRONMENT.md, _PROXYPREFIX.md,
_EXITCODES.md, _BUGS.md, _AUTHORS.md, _WWW.md, _SEEALSO.md
- updated test cases accordingly
Closes #12751
2024-01-21 06:18:43 +08:00
|
|
|
---
|
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
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: http
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: mutex
|
docs/cmdline: change to .md for cmdline docs
- switch all invidual files documenting command line options into .md,
as the documentation is now markdown-looking.
- made the parser treat 4-space indents as quotes
- switch to building the curl.1 manpage using the "mainpage.idx" file,
which lists the files to include to generate it, instead of using the
previous page-footer/headers. Also, those files are now also .md
ones, using the same format. I gave them underscore prefixes to make
them sort separately:
_NAME.md, _SYNOPSIS.md, _DESCRIPTION.md, _URL.md, _GLOBBING.md,
_VARIABLES.md, _OUTPUT.md, _PROTOCOLS.md, _PROGRESS.md, _VERSION.md,
_OPTIONS.md, _FILES.md, _ENVIRONMENT.md, _PROXYPREFIX.md,
_EXITCODES.md, _BUGS.md, _AUTHORS.md, _WWW.md, _SEEALSO.md
- updated test cases accordingly
Closes #12751
2024-01-21 06:18:43 +08:00
|
|
|
See-also:
|
|
|
|
- http1.1
|
|
|
|
- http2
|
|
|
|
Example:
|
|
|
|
- --http3 $URL
|
2019-07-22 05:48:58 +08:00
|
|
|
---
|
docs/cmdline: change to .md for cmdline docs
- switch all invidual files documenting command line options into .md,
as the documentation is now markdown-looking.
- made the parser treat 4-space indents as quotes
- switch to building the curl.1 manpage using the "mainpage.idx" file,
which lists the files to include to generate it, instead of using the
previous page-footer/headers. Also, those files are now also .md
ones, using the same format. I gave them underscore prefixes to make
them sort separately:
_NAME.md, _SYNOPSIS.md, _DESCRIPTION.md, _URL.md, _GLOBBING.md,
_VARIABLES.md, _OUTPUT.md, _PROTOCOLS.md, _PROGRESS.md, _VERSION.md,
_OPTIONS.md, _FILES.md, _ENVIRONMENT.md, _PROXYPREFIX.md,
_EXITCODES.md, _BUGS.md, _AUTHORS.md, _WWW.md, _SEEALSO.md
- updated test cases accordingly
Closes #12751
2024-01-21 06:18:43 +08:00
|
|
|
|
|
|
|
# `--http3`
|
|
|
|
|
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.
|
|
|
|
|
2023-09-08 20:32:29 +08:00
|
|
|
When asked to use HTTP/3, curl issues a separate attempt to use older HTTP
|
2023-09-08 01:53:49 +08:00
|
|
|
versions with a slight delay, so if the HTTP/3 transfer fails or is slow, curl
|
2023-09-08 20:32:29 +08:00
|
|
|
still tries to proceed with an older HTTP version.
|
2023-01-09 22:00:34 +08:00
|
|
|
|
2023-02-08 05:50:36 +08:00
|
|
|
Use --http3-only for similar functionality *without* a fallback.
|