1 <testcase> 2 3 <info> 4 <keywords> 5 HTTP 6 multi 7 FAILURE 8 resolve 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> 16 HTTP/1.1 200 OK 17 Date: Thu, 03 Feb 2014 17:04:00 GMT 18 Server: test-server/fake swsclose 19 Connection: close 20 Content-Type: text/html 21 Content-Length: 6 22 23 hello 24 </data1> 25 <data2> 26 HTTP/1.1 200 OK 27 Date: Thu, 03 Feb 2014 17:04:02 GMT 28 Server: test-server/fake swsclose 29 Connection: close 30 Content-Type: text/html 31 Content-Length: 6 32 33 hello 34 </data2> 35 </reply> 36 37 <client> 38 <server> 39 http 40 </server> 41 <tool> 42 lib1515 43 </tool> 44 <name> 45 caching of manual libcurl DNS entries after DNS cache timeout 46 </name> 47 <command> 48 /path/1515 %HOSTIP %HTTPPORT 49 </command> 50 </client> 51 52 <verify> 53 <errorcode> 54 0 55 </errorcode> 56 </verify> 57 58 </testcase> 59