mirror of
https://github.com/curl/curl.git
synced 2026-08-07 01:18:49 +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
|
|
@ -5,7 +5,7 @@
|
|||
.\" * | (__| |_| | _ <| |___
|
||||
.\" * \___|\___/|_| \_\_____|
|
||||
.\" *
|
||||
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
.\" * Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
.\" *
|
||||
.\" * This software is licensed as described in the file COPYING, which
|
||||
.\" * you should have received as part of this distribution. The terms
|
||||
|
|
@ -73,6 +73,9 @@ use of a proxy, even if there is an environment variable set for it.
|
|||
A proxy host string can also include protocol scheme (http://) and embedded
|
||||
user + password.
|
||||
|
||||
Unix domain sockets are supported for socks proxies since 7.84.0. Set
|
||||
localhost for the host part. e.g. socks5h://localhost/path/to/socket.sock
|
||||
|
||||
The application does not have to keep the string around after setting this
|
||||
option.
|
||||
.SH "Environment variables"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue