summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/proxytunnel.d
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmdline-opts/proxytunnel.d')
-rw-r--r--docs/cmdline-opts/proxytunnel.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/cmdline-opts/proxytunnel.d b/docs/cmdline-opts/proxytunnel.d
new file mode 100644
index 000000000..3328dab69
--- /dev/null
+++ b/docs/cmdline-opts/proxytunnel.d
@@ -0,0 +1,9 @@
+Long: proxytunnel
+Help: Operate through a 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.