mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:23:38 +03:00
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
This commit is contained in:
parent
8803d2bfd9
commit
712e5f1e7f
9 changed files with 38 additions and 19 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue