mirror of
https://github.com/moparisthebest/curl
synced 2024-11-04 08:35:05 -05:00
f82bbe01c8
Exit with an error on the first transfer error instead of continuing to do the rest of the URLs. Discussion: https://curl.haxx.se/mail/archive-2016-11/0038.html
39 lines
464 B
Plaintext
39 lines
464 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
--fail-early
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
</data>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<name>
|
|
--fail-early
|
|
</name>
|
|
<command>
|
|
--fail-early h1234://%HOSTIP:%HTTPPORT/1247 http://%HOSTIP:%HTTPPORT/1247
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# Protocol "h1234" not supported or disabled in libcurl
|
|
<errorcode>
|
|
1
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|