1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-15 05:55:04 -05:00

socksd: new SOCKS 4+5 server for tests

Closes #3752
This commit is contained in:
Daniel Stenberg 2019-04-08 15:27:56 +02:00
parent 4f463da6b5
commit 04fd67555c
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
3 changed files with 1174 additions and 1 deletions

View File

@ -15,6 +15,9 @@ all_proxy
<data>
silly content
</data>
<servercmd>
backendport passthru
</servercmd>
</reply>
#

View File

@ -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 \

1164
tests/server/socksd.c Normal file

File diff suppressed because it is too large Load Diff