diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-04-06 14:33:05 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-04-08 00:27:53 +0200 |
commit | 712e5f1e7f5f0d9f94a5de0bd0b8dc4f46e7816c (patch) | |
tree | a5f3e3b94fffb9df34e3185f0aa71c3af6a8180a /include | |
parent | 8803d2bfd9a28137d5bf6caaa91a0abe365a90f1 (diff) | |
download | curl-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 'include')
-rw-r--r-- | include/curl/curl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index e8b551b13..944352421 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -780,7 +780,8 @@ typedef enum { CONNECT HTTP/1.1 */ CURLPROXY_HTTP_1_0 = 1, /* added in 7.19.4, force to use CONNECT HTTP/1.0 */ - CURLPROXY_HTTPS = 2, /* added in 7.52.0 */ + CURLPROXY_HTTPS = 2, /* HTTPS but stick to HTTP/1 added in 7.52.0 */ + CURLPROXY_HTTPS2 = 3, /* HTTPS and attempt HTTP/2 added in 8.1.0 */ CURLPROXY_SOCKS4 = 4, /* support added in 7.15.2, enum existed already in 7.10 */ CURLPROXY_SOCKS5 = 5, /* added in 7.10 */ |