1--- 2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3SPDX-License-Identifier: curl 4Long: proxytunnel 5Short: p 6Help: HTTP proxy tunnel (using CONNECT) 7Category: proxy 8Added: 7.3 9Multi: boolean 10See-also: 11 - proxy 12Example: 13 - --proxytunnel -x http://proxy $URL 14--- 15 16# `--proxytunnel` 17 18When an HTTP proxy is used --proxy, this option makes curl tunnel the traffic 19through the proxy. The tunnel approach is made with the HTTP proxy CONNECT 20request and requires that the proxy allows direct connect to the remote port 21number curl wants to tunnel through to. 22 23To suppress proxy CONNECT response headers when curl is set to output headers 24use --suppress-connect-headers. 25