diff options
author | Jakub Wilk <jwilk@jwilk.net> | 2018-04-17 21:17:57 +0200 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2018-04-17 15:32:51 -0400 |
commit | 24e835587714289214002506aa0e2d59313f95c0 (patch) | |
tree | f0370364e2b150a36a6e27d277e5277f527ba3b7 /docs/libcurl/opts/CURLOPT_HTTPPROXYTUNNEL.3 | |
parent | ba48863e52ab042a6cf754e254dfb5062a45b090 (diff) |
docs: fix typos
Closes https://github.com/curl/curl/pull/2503
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_HTTPPROXYTUNNEL.3')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_HTTPPROXYTUNNEL.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_HTTPPROXYTUNNEL.3 b/docs/libcurl/opts/CURLOPT_HTTPPROXYTUNNEL.3 index 5ded4d27a..46f9946d4 100644 --- a/docs/libcurl/opts/CURLOPT_HTTPPROXYTUNNEL.3 +++ b/docs/libcurl/opts/CURLOPT_HTTPPROXYTUNNEL.3 @@ -32,7 +32,7 @@ Set the \fBtunnel\fP parameter to 1L to make libcurl tunnel all operations through the HTTP proxy (set with \fICURLOPT_PROXY(3)\fP). There is a big difference between using a proxy and to tunnel through it. -Tunneling means that a HTTP CONNECT request is sent to the proxy, asking it +Tunneling means that an HTTP CONNECT request is sent to the proxy, asking it to connect to a remote host on a specific port number and then the traffic is just passed through the proxy. Proxies tend to white-list specific port numbers it allows CONNECT requests to and often only port 80 and 443 are allowed. @@ -43,7 +43,7 @@ To suppress proxy CONNECT response headers from user callbacks use HTTP proxies can generally only speak HTTP (for obvious reasons), which makes libcurl convert non-HTTP requests to HTTP when using an HTTP proxy without this tunnel option set. For example, asking for an FTP URL and specifying an -HTTP proxy will make libcurl send an FTP URL in a HTTP GET request to the +HTTP proxy will make libcurl send an FTP URL in an HTTP GET request to the proxy. By instead tunneling through the proxy, you avoid that conversion (that rarely works through the proxy anyway). .SH DEFAULT |