1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-14 13:35:03 -05:00
curl/tests/data/test702
Daniel Stenberg 54c784556e
test: make tests and test scripts use socksd for SOCKS
Make all SOCKS tests use socksd instead of ssh.
2019-04-13 11:21:53 +02:00

44 lines
554 B
Plaintext

<testcase>
#based off 19
<info>
<keywords>
HTTP
SOCKS4
connect to non-listen
FAILURE
</keywords>
</info>
# Server-side
<reply>
<data>
</data>
# 91 is socks4 failure
<servercmd>
response 91
</servercmd>
</reply>
# Client-side
<client>
<server>
socks4
</server>
<features>
http
</features>
<name>
Attempt connect to non-listening HTTP server via SOCKS4 proxy
</name>
<command>
--socks4 %HOSTIP:%SOCKSPORT http://%HOSTIP:60000
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<errorcode>
7
</errorcode>
</verify>
</testcase>