test1515 847 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. Second request will happen after
  12. # the DNS cache timeout elapses and must succeed exactly like the first one.
  13. <data1>
  14. HTTP/1.1 200 OK
  15. Date: Thu, 03 Feb 2014 17:04:00 GMT
  16. Server: test-server/fake swsclose
  17. Connection: close
  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 DNS cache timeout
  41. </name>
  42. <command>
  43. /path/1515 %HOSTIP %HTTPPORT
  44. </command>
  45. </client>
  46. <verify>
  47. <errorcode>
  48. 0
  49. </errorcode>
  50. </verify>
  51. </testcase>