summaryrefslogtreecommitdiff
path: root/lib/setopt.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-04-06 14:33:05 +0200
committerDaniel Stenberg <daniel@haxx.se>2023-04-08 00:27:53 +0200
commit712e5f1e7f5f0d9f94a5de0bd0b8dc4f46e7816c (patch)
treea5f3e3b94fffb9df34e3185f0aa71c3af6a8180a /lib/setopt.c
parent8803d2bfd9a28137d5bf6caaa91a0abe365a90f1 (diff)
downloadcurl-712e5f1e7f5f0d9f94a5de0bd0b8dc4f46e7816c.tar.gz
CURLPROXY_HTTPS2: for HTTPS proxy that may speak HTTP/2
Setting this proxy type allows curl to negotiate and use HTTP/2 with HTTPS proxies. Closes #10900
Diffstat (limited to 'lib/setopt.c')
-rw-r--r--lib/setopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setopt.c b/lib/setopt.c
index 6bb88791c..b4ba30764 100644
--- a/lib/setopt.c
+++ b/lib/setopt.c
@@ -1155,7 +1155,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
case CURLOPT_PROXYTYPE:
/*
- * Set proxy type. HTTP/HTTP_1_0/SOCKS4/SOCKS4a/SOCKS5/SOCKS5_HOSTNAME
+ * Set proxy type.
*/
arg = va_arg(param, long);
if((arg < CURLPROXY_HTTP) || (arg > CURLPROXY_SOCKS5_HOSTNAME))