mirror of
https://github.com/moparisthebest/curl
synced 2024-11-13 21:15:08 -05:00
54c784556e
Make all SOCKS tests use socksd instead of ssh.
44 lines
552 B
Plaintext
44 lines
552 B
Plaintext
<testcase>
|
|
#based off 19
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
SOCKS5
|
|
connect to non-listen
|
|
FAILURE
|
|
</keywords>
|
|
</info>
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
</data>
|
|
# 1 is socks5 failure
|
|
<servercmd>
|
|
response 1
|
|
</servercmd>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
socks5
|
|
</server>
|
|
<features>
|
|
http
|
|
</features>
|
|
<name>
|
|
Attempt connect to non-listening HTTP server via SOCKS5 proxy
|
|
</name>
|
|
<command>
|
|
--socks5 %HOSTIP:%SOCKSPORT http://%HOSTIP:60000
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
7
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|