summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-03-08 16:45:34 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-03-08 23:19:11 +0100
commit50afa478e1c4c2a640b37d8d9da477de07714d2b (patch)
tree986a9527b6e141b5a902ff6bb777ad8fcbc70c5e
parent5114f82331440eadc9299700490f14c7352c908d (diff)
downloadgnurl-50afa478e1c4c2a640b37d8d9da477de07714d2b.tar.gz
gnurl-50afa478e1c4c2a640b37d8d9da477de07714d2b.tar.bz2
gnurl-50afa478e1c4c2a640b37d8d9da477de07714d2b.zip
cmdline-opts/proxytunnel.d: the option tunnnels all protocols
Clarify the language and simplify. Reported-by: Daniel Lublin Closes #3658
-rw-r--r--docs/cmdline-opts/proxytunnel.d9
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/cmdline-opts/proxytunnel.d b/docs/cmdline-opts/proxytunnel.d
index 42aee2bb2..1f587f120 100644
--- a/docs/cmdline-opts/proxytunnel.d
+++ b/docs/cmdline-opts/proxytunnel.d
@@ -3,11 +3,10 @@ Short: p
Help: Operate through an HTTP proxy tunnel (using CONNECT)
See-also: proxy
---
-When an HTTP proxy is used --proxy, this option will cause non-HTTP protocols
-to attempt to tunnel through the proxy instead of merely using it to do
-HTTP-like operations. The tunnel approach is made with the HTTP proxy CONNECT
-request and requires that the proxy allows direct connect to the remote port
-number curl wants to tunnel through to.
+When an HTTP proxy is used --proxy, this option will make curl tunnel through
+the proxy. The tunnel approach is made with the HTTP proxy CONNECT request and
+requires that the proxy allows direct connect to the remote port number curl
+wants to tunnel through to.
To suppress proxy CONNECT response headers when curl is set to output headers
use --suppress-connect-headers.