mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 12:05:06 -05:00
018dd775c8
The purpose with this variable is to provide a port number that is reasonably likely to not have a listener on the local host so that tests can try connect failures against it. It uses port 47 - "reserved" according to IANA. Updated six tests to use it instead of the previous different ports. Assisted-by: Emil Engler Closes #5270
38 lines
421 B
Plaintext
38 lines
421 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
connect to non-listen
|
|
FAILURE
|
|
</keywords>
|
|
</info>
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
http
|
|
</features>
|
|
<name>
|
|
attempt connect to non-listening socket
|
|
</name>
|
|
<command>
|
|
%HOSTIP:%NOLISTENPORT
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
7
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|