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 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> 17 HTTP/1.1 200 OK 18 Date: Thu, 03 Feb 2014 17:04:00 GMT 19 Server: test-server/fake swsclose 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 dead connection 46 </name> 47 <command> 48 /path/1516 %HOSTIP %HTTPPORT 49 </command> 50 </client> 51 52 <verify> 53 <errorcode> 54 0 55 </errorcode> 56 </verify> 57 58 </testcase> 59