proxytunnel.d 662 B

123456789101112131415161718
  1. c: Copyright (C) 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 makes curl tunnel the traffic
  13. through the proxy. The tunnel approach is made with the HTTP proxy CONNECT
  14. request and requires that the proxy allows direct connect to the remote port
  15. number curl wants to tunnel through to.
  16. To suppress proxy CONNECT response headers when curl is set to output headers
  17. use --suppress-connect-headers.