File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1516
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (4 years, 6 months ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

<testcase>

<info>
<keywords>
HTTP
multi
FAILURE
resolve
</keywords>
</info>

<reply>
# Close the connection after the first request but don't tell the client to do
# so! When starting the second request it'll detect 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/1516 %HOSTIP %HTTPPORT
</command>
</client>

<verify>
<errorcode>
0
</errorcode>
</verify>

</testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>