curl/docs/cmdline-opts/proxytunnel.d

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
654 B
D
Raw Normal View History

c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
2016-11-16 21:20:36 +08:00
Long: proxytunnel
Short: p
Help: Operate through an HTTP proxy tunnel (using CONNECT)
2016-11-16 21:20:36 +08:00
See-also: proxy
Category: proxy
Example: --proxytunnel -x http://proxy $URL
Added: 7.3
Multi: boolean
2016-11-16 21:20:36 +08:00
---
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.