xref: /curl/tests/data/test1516 (revision e2b4df7b)
1<testcase>
2
3<info>
4<keywords>
5HTTP
6multi
7FAILURE
8resolve
9</keywords>
10</info>
11
12<reply>
13# Close the connection after the first request but don't tell the client to do
14# so! When starting the second request it'll detect a dead connection and must
15# not clean the DNS entries added manually.
16<data1>
17HTTP/1.1 200 OK
18Date: Thu, 03 Feb 2014 17:04:00 GMT
19Server: test-server/fake swsclose
20Content-Type: text/html
21Content-Length: 6
22
23hello
24</data1>
25<data2>
26HTTP/1.1 200 OK
27Date: Thu, 03 Feb 2014 17:04:02 GMT
28Server: test-server/fake swsclose
29Connection: close
30Content-Type: text/html
31Content-Length: 6
32
33hello
34</data2>
35</reply>
36
37<client>
38<server>
39http
40</server>
41<tool>
42lib1515
43</tool>
44<name>
45caching of manual libcurl DNS entries after dead connection
46</name>
47<command>
48/path/%TESTNUMBER %HOSTIP %HTTPPORT
49</command>
50</client>
51
52<verify>
53<errorcode>
540
55</errorcode>
56</verify>
57
58</testcase>
59