2016-11-16 21:20:36 +08:00
|
|
|
Long: proxytunnel
|
2016-11-28 08:01:13 +08:00
|
|
|
Short: p
|
2018-04-18 03:17:57 +08:00
|
|
|
Help: Operate through an HTTP proxy tunnel (using CONNECT)
|
2016-11-16 21:20:36 +08:00
|
|
|
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.
|
2016-04-28 17:33:25 +08:00
|
|
|
|
|
|
|
To suppress proxy CONNECT response headers when curl is set to output headers
|
|
|
|
use --suppress-connect-headers.
|