src: add --http3-only

Warning: --http3 and --http3-only are subject to change again (or be
removed) before HTTP/3 support goes non-experimental.

Closes #10264
This commit is contained in:
Daniel Stenberg 2023-01-09 15:00:34 +01:00
parent a56d2b0b94
commit 13991d60ee
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
7 changed files with 66 additions and 13 deletions

View file

@ -91,6 +91,7 @@ const struct NameValue setopt_nv_CURL_HTTP_VERSION[] = {
NV(CURL_HTTP_VERSION_2_0),
NV(CURL_HTTP_VERSION_2TLS),
NV(CURL_HTTP_VERSION_3),
NV(CURL_HTTP_VERSION_3ONLY),
NVEND,
};