mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +03:00
socks: support unix sockets for socks proxy
Usage: curl -x "socks5h://localhost/run/tor/socks" "https://example.com" Updated runtests.pl to run a socksd server listening on unix socket Added tests test1467 test1468 Added documentation for proxy command line option and socks proxy options Closes #8668
This commit is contained in:
parent
ee52bead4d
commit
dfa84a0450
12 changed files with 240 additions and 23 deletions
|
|
@ -9,6 +9,9 @@ See-also: socks5-hostname socks4a
|
|||
Use the specified SOCKS5 proxy - but resolve the host name locally. If the
|
||||
port number is not specified, it is assumed at port 1080.
|
||||
|
||||
To specify proxy on a unix domain socket, use localhost for host, e.g.
|
||||
socks5://localhost/path/to/socket.sock
|
||||
|
||||
This option overrides any previous use of --proxy, as they are mutually
|
||||
exclusive.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue