1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

curl.1: --socks* options no longer needed

As we now can specify all the socks proxy types with the regular --proxy
option using protocol prefix.
This commit is contained in:
Daniel Stenberg 2011-05-05 11:54:58 +02:00
parent 558f997e99
commit 4508ea103f

View File

@ -1243,6 +1243,9 @@ assumed at port 1080. (Added in 7.15.2)
This option overrides any previous use of \fI-x, --proxy\fP, as they are This option overrides any previous use of \fI-x, --proxy\fP, as they are
mutually exclusive. mutually exclusive.
Since 7.21.7, this option is superfluous since you can specify a socks4 proxy
with \fI-x, --proxy\fP using a socks4:// protocol prefix.
If this option is used several times, the last one will be used. If this option is used several times, the last one will be used.
.IP "--socks4a <host[:port]>" .IP "--socks4a <host[:port]>"
Use the specified SOCKS4a proxy. If the port number is not specified, it is Use the specified SOCKS4a proxy. If the port number is not specified, it is
@ -1251,6 +1254,9 @@ assumed at port 1080. (Added in 7.18.0)
This option overrides any previous use of \fI-x, --proxy\fP, as they are This option overrides any previous use of \fI-x, --proxy\fP, as they are
mutually exclusive. mutually exclusive.
Since 7.21.7, this option is superfluous since you can specify a socks4a proxy
with \fI-x, --proxy\fP using a socks4a:// protocol prefix.
If this option is used several times, the last one will be used. If this option is used several times, the last one will be used.
.IP "--socks5-hostname <host[:port]>" .IP "--socks5-hostname <host[:port]>"
Use the specified SOCKS5 proxy (and let the proxy resolve the host name). If Use the specified SOCKS5 proxy (and let the proxy resolve the host name). If
@ -1260,6 +1266,10 @@ the port number is not specified, it is assumed at port 1080. (Added in
This option overrides any previous use of \fI-x, --proxy\fP, as they are This option overrides any previous use of \fI-x, --proxy\fP, as they are
mutually exclusive. mutually exclusive.
Since 7.21.7, this option is superfluous since you can specify a
socks5-hostnamae proxy with \fI-x, --proxy\fP using a socks5h:// protocol
prefix.
If this option is used several times, the last one will be used. (This option If this option is used several times, the last one will be used. (This option
was previously wrongly documented and used as --socks without the number was previously wrongly documented and used as --socks without the number
appended.) appended.)
@ -1270,6 +1280,9 @@ port number is not specified, it is assumed at port 1080.
This option overrides any previous use of \fI-x, --proxy\fP, as they are This option overrides any previous use of \fI-x, --proxy\fP, as they are
mutually exclusive. mutually exclusive.
Since 7.21.7, this option is superfluous since you can specify a socks5 proxy
with \fI-x, --proxy\fP using a socks5:// protocol prefix.
If this option is used several times, the last one will be used. (This option If this option is used several times, the last one will be used. (This option
was previously wrongly documented and used as --socks without the number was previously wrongly documented and used as --socks without the number
appended.) appended.)
@ -1545,9 +1558,9 @@ variables, including the protocol prefix (http://) and the embedded user +
password. password.
From 7.21.7, the proxy string may be specified with a protocol:// prefix to From 7.21.7, the proxy string may be specified with a protocol:// prefix to
specify alternative proxy protocols. Use socks4://, socks4a:// or socks5:// to specify alternative proxy protocols. Use socks4://, socks4a://, socks5:// or
request the specific SOCKS version to be used. No protocol specified, http:// socks5h:// to request the specific SOCKS version to be used. No protocol
and all others will be treated as HTTP proxies. specified, http:// and all others will be treated as HTTP proxies.
If this option is used several times, the last one will be used. If this option is used several times, the last one will be used.
.IP "-X, --request <command>" .IP "-X, --request <command>"