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