aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/proxytunnel.md
diff options
context:
space:
mode:
authorSadaf Ebrahimi <sadafebrahimi@google.com>2024-02-21 03:36:27 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2024-02-21 03:36:27 +0000
commit57b9b27177b8f31dbe44a66b62f92201296b5337 (patch)
tree1b01132e15db02538dcf10922559df5a286d1cd6 /docs/cmdline-opts/proxytunnel.md
parent674dacb61ed7ec74e882b6413316e027b279a2c7 (diff)
parent5a7a71055c2c5ea8e7342422964c47f1e2d03970 (diff)
downloadcurl-57b9b27177b8f31dbe44a66b62f92201296b5337.tar.gz
Merge "Upgrade curl to curl-8_6_0" into main am: 5a7a71055c
Original change: https://android-review.googlesource.com/c/platform/external/curl/+/2970072 Change-Id: I156c2098c246d275dc0d2a91fbbfcfba6e293306 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'docs/cmdline-opts/proxytunnel.md')
-rw-r--r--docs/cmdline-opts/proxytunnel.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/cmdline-opts/proxytunnel.md b/docs/cmdline-opts/proxytunnel.md
new file mode 100644
index 000000000..74faa681a
--- /dev/null
+++ b/docs/cmdline-opts/proxytunnel.md
@@ -0,0 +1,24 @@
+---
+c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
+Long: proxytunnel
+Short: p
+Help: Operate through an HTTP proxy tunnel (using CONNECT)
+Category: proxy
+Added: 7.3
+Multi: boolean
+See-also:
+ - proxy
+Example:
+ - --proxytunnel -x http://proxy $URL
+---
+
+# `--proxytunnel`
+
+When an HTTP proxy is used --proxy, this option makes curl tunnel the traffic
+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.