2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
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
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: proxy
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --proxytunnel -x http://proxy $URL
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 7.3
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: boolean
|
2016-11-16 21:20:36 +08:00
|
|
|
---
|
2019-03-08 23:45:34 +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.
|
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.
|