blob: ef2d56b2a71a042cee39b10812ef357595d56d13 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: proxytunnel
4Short: p
5Help: Operate through an HTTP proxy tunnel (using CONNECT)
6See-also: proxy
7Category: proxy
8Example: --proxytunnel -x http://proxy $URL
9Added: 7.3
10Multi: boolean
11---
12When an HTTP proxy is used --proxy, this option will make curl tunnel through
13the proxy. The tunnel approach is made with the HTTP proxy CONNECT request and
14requires that the proxy allows direct connect to the remote port number curl
15wants to tunnel through to.
16
17To suppress proxy CONNECT response headers when curl is set to output headers
18use --suppress-connect-headers.