]> git.ipfire.org Git - thirdparty/curl.git/commit
sws: add UNIX domain socket support
authorPeter Wu <peter@lekensteyn.nl>
Wed, 3 Dec 2014 01:20:00 +0000 (02:20 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 4 Dec 2014 01:52:18 +0000 (02:52 +0100)
commite9c7a86220ddf4e67b8bff56cddfc7388afcc9ef
tree3109856a6a63743449186bd7ae06eb9b4463c277
parentfb7d7e0022f22035449bbc506068004f0568f8ae
sws: add UNIX domain socket support

This extends sws with a --unix-socket option which causes the port to
be ignored (as the server now listens on the path specified by
--unix-socket). This feature will be available in the following patch
that enables checking for UNIX domain socket support.

Proxy support (CONNECT) is not considered nor tested. It does not make
sense anyway, first connecting through a TCP proxy, then let that TCP
proxy connect to a UNIX socket.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
tests/server/server_sockaddr.h
tests/server/sws.c