Skip to content

Commit

Permalink
fixup language
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Jun 15, 2024
1 parent 3dcbf4b commit 7d14c4f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions transfers/conn/proxies.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,12 @@ proxy as `CURLOPT_CAINFO` is for the remote
host. `CURLOPT_PROXY_SSL_VERIFYPEER` is the proxy version of
`CURLOPT_SSL_VERIFYPEER` and so on.

libcurl speaks HTTP/1 to a HTTPS by default. You can make it try using HTTP/2
by setting `CURLOPT_PROXYTYPE` to `CURLPROXY_HTTPS2` when the proxy is also
set to use a `https://` scheme. When using HTTP/2 to the proxy, libcurl can
reuse the proxy connection and do multiplexed transfers over that when talking
to different remote server as long as the remote protocol is not TLS based.
libcurl speaks HTTP/1 to HTTPS proxies by default. You can make it try using
HTTP/2 by setting `CURLOPT_PROXYTYPE` to `CURLPROXY_HTTPS2` when the proxy is
also set to use a `https://` scheme. When using HTTP/2 to the proxy, libcurl
can reuse the proxy connection and do multiplexed transfers over that when
talking to different remote server as long as the remote protocol is not TLS
based.

## Proxy authentication

Expand Down

0 comments on commit 7d14c4f

Please sign in to comment.