test1516 878 B

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