mirror of https://github.com/moparisthebest/curl
proxy tunnel update
This commit is contained in:
parent
31dc1f4247
commit
4ee420f23e
|
@ -2,7 +2,7 @@
|
||||||
.\" nroff -man curl.1
|
.\" nroff -man curl.1
|
||||||
.\" Written by Daniel Stenberg
|
.\" Written by Daniel Stenberg
|
||||||
.\"
|
.\"
|
||||||
.TH curl 1 "24 August 2000" "Curl 7.2" "Curl Manual"
|
.TH curl 1 "15 August 2000" "Curl 7.3" "Curl Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl \- get a URL with FTP, TELNET, LDAP, GOPHER, DICT, FILE, HTTP or
|
curl \- get a URL with FTP, TELNET, LDAP, GOPHER, DICT, FILE, HTTP or
|
||||||
HTTPS syntax.
|
HTTPS syntax.
|
||||||
|
@ -241,6 +241,12 @@ or use several variables like:
|
||||||
.IP "-O/--remote-name"
|
.IP "-O/--remote-name"
|
||||||
Write output to a local file named like the remote file we get. (Only
|
Write output to a local file named like the remote file we get. (Only
|
||||||
the file part of the remote file is used, the path is cut off.)
|
the file part of the remote file is used, the path is cut off.)
|
||||||
|
.IP "-p/--proxytunnel"
|
||||||
|
When an HTTP proxy is used, this option will cause non-HTTP protocols to
|
||||||
|
attempt to tunnel through the proxy instead of merely using it to do HTTP-like
|
||||||
|
operations. The tunnel approach is made with the HTTP proxy CONNECT request
|
||||||
|
and requires that the proxy allows direct connect to the remote port number
|
||||||
|
curl wants to tunnel through to.
|
||||||
.IP "-P/--ftpport <address>"
|
.IP "-P/--ftpport <address>"
|
||||||
(FTP)
|
(FTP)
|
||||||
Reverses the initiator/listener roles when connecting with ftp. This
|
Reverses the initiator/listener roles when connecting with ftp. This
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
.\" nroff -man [file]
|
.\" nroff -man [file]
|
||||||
.\" Written by daniel@haxx.se
|
.\" Written by daniel@haxx.se
|
||||||
.\"
|
.\"
|
||||||
.TH curl_easy_setopt 3 "24 August 2000" "Curl 7.2" "libcurl Manual"
|
.TH curl_easy_setopt 3 "15 September 2000" "Curl 7.3" "libcurl Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_setopt - Set curl easy-session options
|
curl_easy_setopt - Set curl easy-session options
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -87,6 +87,12 @@ the end of the host name. The proxy string may be prefixed with
|
||||||
Set this long with this option to set the proxy port to use unless it is
|
Set this long with this option to set the proxy port to use unless it is
|
||||||
specified in the proxy string CURLOPT_PROXY.
|
specified in the proxy string CURLOPT_PROXY.
|
||||||
.TP
|
.TP
|
||||||
|
.B CURLOPT_HTTPPROXYTUNNEL
|
||||||
|
Set the parameter to non-zero to get the library to tunnel all non-HTTP
|
||||||
|
operations through the given HTTP proxy. Do note that there is a big
|
||||||
|
difference to use a proxy and to tunnel through it. If you don't know what
|
||||||
|
this means, you probably don't want this tunnel option. (Added in libcurl 7.3)
|
||||||
|
.TP
|
||||||
.B CURLOPT_VERBOSE
|
.B CURLOPT_VERBOSE
|
||||||
Set the parameter to non-zero to get the library to display a lot of verbose
|
Set the parameter to non-zero to get the library to display a lot of verbose
|
||||||
information about its operations.
|
information about its operations.
|
||||||
|
@ -194,7 +200,8 @@ post operation. See also the CURLOPT_POST.
|
||||||
If you want to post data to the server without letting libcurl do a strlen()
|
If you want to post data to the server without letting libcurl do a strlen()
|
||||||
to measure the data size, this option must be used. Also, when this option is
|
to measure the data size, this option must be used. Also, when this option is
|
||||||
used, you can post fully binary data which otherwise is likely to fail. If
|
used, you can post fully binary data which otherwise is likely to fail. If
|
||||||
this size is set to zero, the library will use strlen() to get the data size.
|
this size is set to zero, the library will use strlen() to get the data
|
||||||
|
size. (Added in libcurl 7.2)
|
||||||
.TP
|
.TP
|
||||||
.B CURLOPT_REFERER
|
.B CURLOPT_REFERER
|
||||||
Pass a pointer to a zero terminated string as parameter. It will be used to
|
Pass a pointer to a zero terminated string as parameter. It will be used to
|
||||||
|
|
Loading…
Reference in New Issue