summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-04-11 11:20:12 +0200
committerDaniel Stenberg <daniel@haxx.se>2023-04-14 10:39:23 +0200
commite39754f6a242c99a80a274280b61e884e5abcc7e (patch)
tree5bb17bfe69c15c0470b5c98ce0c6718cd563484f /docs
parentc39f981ff4e0920e606eec5515b92825d3913728 (diff)
downloadcurl-e39754f6a242c99a80a274280b61e884e5abcc7e.tar.gz
curl: add --proxy-http2
For trying HTTP/2 with an HTTPS proxy. Closes #10926
Diffstat (limited to 'docs')
-rw-r--r--docs/cmdline-opts/Makefile.inc1
-rw-r--r--docs/cmdline-opts/proxy-http2.d18
-rw-r--r--docs/options-in-versions1
3 files changed, 20 insertions, 0 deletions
diff --git a/docs/cmdline-opts/Makefile.inc b/docs/cmdline-opts/Makefile.inc
index ffc9169d3..208a66718 100644
--- a/docs/cmdline-opts/Makefile.inc
+++ b/docs/cmdline-opts/Makefile.inc
@@ -178,6 +178,7 @@ DPAGES = \
proxy-crlfile.d \
proxy-digest.d \
proxy-header.d \
+ proxy-http2.d \
proxy-insecure.d \
proxy-key-type.d \
proxy-key.d \
diff --git a/docs/cmdline-opts/proxy-http2.d b/docs/cmdline-opts/proxy-http2.d
new file mode 100644
index 000000000..3edadb2d4
--- /dev/null
+++ b/docs/cmdline-opts/proxy-http2.d
@@ -0,0 +1,18 @@
+c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
+Long: proxy-http2
+Tags: Versions HTTP/2
+Protocols: HTTP
+Added: 8.1.0
+Mutexed:
+Requires: HTTP/2
+See-also: proxy
+Help: Use HTTP/2 with HTTPS proxy
+Category: http proxy
+Example: --proxy-http2 -x proxy $URL
+Multi: boolean
+---
+Tells curl to try negotiate HTTP version 2 with a HTTPS proxy. The proxy might
+still only offer HTTP/1 and then curl will stick to using that version.
+
+This has no effect for any other kinds of proxies.
diff --git a/docs/options-in-versions b/docs/options-in-versions
index 039837320..d34dd33f0 100644
--- a/docs/options-in-versions
+++ b/docs/options-in-versions
@@ -165,6 +165,7 @@
--proxy-crlfile 7.52.0
--proxy-digest 7.12.0
--proxy-header 7.37.0
+--proxy-http2 8.1.0
--proxy-insecure 7.52.0
--proxy-key 7.52.0
--proxy-key-type 7.52.0