mirror of
https://github.com/moparisthebest/curl
synced 2024-11-14 05:25:06 -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
|
|
SOCKS4
|
|
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 SOCKS4 proxy
|
|
</name>
|
|
<command>
|
|
--socks4 %HOSTIP:2 http://%HOSTIP:%HTTPPORT/704
|
|
</command>
|
|
<features>
|
|
proxy
|
|
</features>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
7
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|