mirror of
https://github.com/curl/curl.git
synced 2026-04-12 00:11:42 +08:00
To formalize they are now XML-compliant (with some asterisks.) Also to help syntax highlighters work on them to make their content more readable. Also: - Delete empty comment decorations. - GHA/checksrc: simplify XML check. - runtests: fail to load test data with XML prolog missing. Follow-up tobfe6eb1c06#19927 Follow-up to87ba80a6dfCloses #19946
60 lines
918 B
XML
60 lines
918 B
XML
<?xml version="1.0" encoding="US-ASCII"?>
|
|
<testcase>
|
|
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
multi
|
|
FAILURE
|
|
resolve
|
|
</keywords>
|
|
</info>
|
|
|
|
<reply>
|
|
# Close the connection after the first request but do not tell the client to do
|
|
# so! When starting the second request it detects a dead connection and must
|
|
# not clean the DNS entries added manually.
|
|
<data1>
|
|
HTTP/1.1 200 OK
|
|
Date: Thu, 03 Feb 2014 17:04:00 GMT
|
|
Server: test-server/fake swsclose
|
|
Content-Type: text/html
|
|
Content-Length: 6
|
|
|
|
hello
|
|
</data1>
|
|
<data2>
|
|
HTTP/1.1 200 OK
|
|
Date: Thu, 03 Feb 2014 17:04:02 GMT
|
|
Server: test-server/fake swsclose
|
|
Connection: close
|
|
Content-Type: text/html
|
|
Content-Length: 6
|
|
|
|
hello
|
|
</data2>
|
|
</reply>
|
|
|
|
<client>
|
|
<server>
|
|
http
|
|
</server>
|
|
<tool>
|
|
lib1515
|
|
</tool>
|
|
<name>
|
|
caching of manual libcurl DNS entries after dead connection
|
|
</name>
|
|
<command>
|
|
path/%TESTNUMBER %HOSTIP %HTTPPORT
|
|
</command>
|
|
</client>
|
|
|
|
<verify>
|
|
<errorcode>
|
|
0
|
|
</errorcode>
|
|
</verify>
|
|
|
|
</testcase>
|