mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 17:18:48 -05:00
476eb88171
This makes the tests succeed when using --disable-proxy. Closes https://github.com/curl/curl/pull/4488
40 lines
476 B
Plaintext
40 lines
476 B
Plaintext
<testcase>
|
|
#based off 19
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
SOCKS5
|
|
connect to non-listen
|
|
FAILURE
|
|
</keywords>
|
|
</info>
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http
|
|
</server>
|
|
<name>
|
|
Attempt connect to non-listening SOCKS5 proxy
|
|
</name>
|
|
<command>
|
|
--socks5 %HOSTIP:2 http://%HOSTIP:%HTTPPORT/705
|
|
</command>
|
|
<features>
|
|
proxy
|
|
</features>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
7
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|