]> git.ipfire.org Git - thirdparty/curl.git/commit
socks: support unix sockets for socks proxy
authorBalakrishnan Balasubramanian <3070606-balki@users.noreply.gitlab.com>
Thu, 19 May 2022 13:33:22 +0000 (15:33 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 19 May 2022 13:35:03 +0000 (15:35 +0200)
commitdfa84a0450ca4bc08ccaebb8dfffb23735b281ef
treeac6b9a8d60a38cf33ecf74508113df41fd79be75
parentee52bead4d1508165b39e5a23b6d7d16cd1ba00a
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
12 files changed:
docs/cmdline-opts/proxy.d
docs/cmdline-opts/socks4.d
docs/cmdline-opts/socks4a.d
docs/cmdline-opts/socks5-hostname.d
docs/cmdline-opts/socks5.d
docs/libcurl/opts/CURLOPT_PROXY.3
lib/url.c
tests/FILEFORMAT.md
tests/data/Makefile.inc
tests/data/test1467 [new file with mode: 0644]
tests/data/test1468 [new file with mode: 0644]
tests/runtests.pl