xref: /curl/tests/data/test1515 (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. Second request will happen after
14# the DNS cache timeout elapses and must succeed exactly like the first one.
15<data1>
16HTTP/1.1 200 OK
17Date: Thu, 03 Feb 2014 17:04:00 GMT
18Server: test-server/fake swsclose
19Connection: close
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<datacheck>
36hello
37hello
38</datacheck>
39</reply>
40
41<client>
42<server>
43http
44</server>
45<tool>
46lib%TESTNUMBER
47</tool>
48<name>
49caching of manual libcurl DNS entries after DNS cache timeout
50</name>
51<command>
52path/%TESTNUMBER %HOSTIP %HTTPPORT
53</command>
54</client>
55
56<verify>
57<errorcode>
580
59</errorcode>
60</verify>
61
62</testcase>
63