]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: clarify that more backends have HTTPS proxy support
authorDaniel Stenberg <daniel@haxx.se>
Wed, 26 Apr 2023 13:39:03 +0000 (15:39 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 26 Apr 2023 14:28:12 +0000 (16:28 +0200)
Closes #11033

docs/cmdline-opts/proxy.d
docs/libcurl/opts/CURLOPT_PROXY.3
docs/libcurl/opts/CURLOPT_PROXYTYPE.3

index 73bfa9e2e61f861d660cf6ced31d1a7b7b49f31b..8c85d396cd0c7f9b3fd927ce7b28623f10e2dfbd 100644 (file)
@@ -21,7 +21,8 @@ Unix domain sockets are supported for socks proxy. Set localhost for the host
 part. e.g. socks5h://localhost/path/to/socket.sock
 
 HTTPS proxy support via https:// protocol prefix was added in 7.52.0 for
-OpenSSL, GnuTLS and NSS.
+OpenSSL, GnuTLS and NSS. Since 7.87.0, it also works for BearSSL, mbedTLS,
+rustls, Schannel, Secure Transport and wolfSSL.
 
 Unrecognized and unsupported proxy protocols cause an error since 7.52.0.
 Prior versions may ignore the protocol and use http:// instead.
index 640e184095956c9262f7dde0cb858ad9d94d9c73..e97a40a81235744c6272f3b22c534b56ccd56ce0 100644 (file)
@@ -48,7 +48,12 @@ proxy is used.
 .IP http://
 HTTP Proxy. Default when no scheme or proxy type is specified.
 .IP https://
-HTTPS Proxy. (Added in 7.52.0 for OpenSSL, GnuTLS and NSS)
+HTTPS Proxy. (Added in 7.52.0 for OpenSSL, GnuTLS and NSS. Since 7.87.0, it
+also works for BearSSL, mbedTLS, rustls, Schannel, Secure Transport and
+wolfSSL.)
+
+This will use HTTP/1 by default. Setting \fICURLOPT_PROXYTYPE(3)\fP to
+\fBCURLPROXY_HTTPS2\fP allows libcurl to negotiate using HTTP/2 with proxy.
 .IP socks4://
 SOCKS4 Proxy.
 .IP socks4a://
index 64a1a2ff344588f5886bd198bbe4f99d6cf29b9d..89ea880e7ea0bf2366651c21228deee35f1b3d54 100644 (file)
@@ -38,7 +38,9 @@ Pass one of the values below to set the type of the proxy.
 .IP CURLPROXY_HTTP
 HTTP Proxy. Default.
 .IP CURLPROXY_HTTPS
-HTTPS Proxy using HTTP/1. (Added in 7.52.0 for OpenSSL, GnuTLS and NSS)
+HTTPS Proxy using HTTP/1. (Added in 7.52.0 for OpenSSL, GnuTLS and NSS. Since
+7.87.0, it also works for BearSSL, mbedTLS, rustls, Schannel, Secure Transport
+and wolfSSL.)
 .IP CURLPROXY_HTTPS2
 HTTPS Proxy and attempt to speak HTTP/2 over it. (Added in 8.1.0)
 .IP CURLPROXY_HTTP_1_0