1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

cmdline-opts/proxytunnel.d: the option tunnnels all protocols

Clarify the language and simplify.

Reported-by: Daniel Lublin
Closes #3658
This commit is contained in:
Daniel Stenberg 2019-03-08 16:45:34 +01:00
parent 5114f82331
commit 50afa478e1
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -3,11 +3,10 @@ Short: p
Help: Operate through an HTTP proxy tunnel (using CONNECT) Help: Operate through an HTTP proxy tunnel (using CONNECT)
See-also: proxy See-also: proxy
--- ---
When an HTTP proxy is used --proxy, this option will cause non-HTTP protocols When an HTTP proxy is used --proxy, this option will make curl tunnel through
to attempt to tunnel through the proxy instead of merely using it to do the proxy. The tunnel approach is made with the HTTP proxy CONNECT request and
HTTP-like operations. The tunnel approach is made with the HTTP proxy CONNECT requires that the proxy allows direct connect to the remote port number curl
request and requires that the proxy allows direct connect to the remote port wants to tunnel through to.
number curl wants to tunnel through to.
To suppress proxy CONNECT response headers when curl is set to output headers To suppress proxy CONNECT response headers when curl is set to output headers
use --suppress-connect-headers. use --suppress-connect-headers.