Skip to content
Permalink
Browse files

socksd: new SOCKS 4+5 server for tests

Closes #3752
  • Loading branch information...
bagder committed Apr 8, 2019
1 parent 4f463da commit 04fd67555cc2bd76844de61967f102d388ab254c
Showing with 1,174 additions and 1 deletion.
  1. +3 −0 tests/data/test711
  2. +7 −1 tests/server/Makefile.inc
  3. +1,164 −0 tests/server/socksd.c
@@ -15,6 +15,9 @@ all_proxy
<data>
silly content
</data>
<servercmd>
backendport passthru
</servercmd>
</reply>

#
@@ -1,4 +1,4 @@
noinst_PROGRAMS = getpart resolve rtspd sockfilt sws tftpd fake_ntlm
noinst_PROGRAMS = getpart resolve rtspd sockfilt sws tftpd fake_ntlm socksd

CURLX_SRCS = \
../../lib/mprintf.c \
@@ -50,6 +50,12 @@ sockfilt_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
sockfilt_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
sockfilt_CFLAGS = $(AM_CFLAGS)

socksd_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
server_sockaddr.h socksd.c \
../../lib/inet_pton.c
socksd_LDADD = @CURL_NETWORK_AND_TIME_LIBS@
socksd_CFLAGS = $(AM_CFLAGS)

sws_SOURCES = $(CURLX_SRCS) $(CURLX_HDRS) $(USEFUL) $(UTIL) \
server_sockaddr.h \
sws.c \
Oops, something went wrong.

0 comments on commit 04fd675

Please sign in to comment.
You can’t perform that action at this time.