test1154 718 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <data>
  12. HTTP/1.1 200 OK
  13. Date: Tue, 09 Nov 2010 14:49:00 GMT
  14. Server: test-server/fake
  15. Content-Length: 6
  16. Connection: close
  17. Long: %repeat[102400 x A]%
  18. -foo-
  19. </data>
  20. <datacheck>
  21. </datacheck>
  22. </reply>
  23. #
  24. # Client-side
  25. <client>
  26. <server>
  27. http
  28. </server>
  29. <name>
  30. HTTP GET with 100K (too long) response header
  31. </name>
  32. <command>
  33. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  34. </command>
  35. </client>
  36. #
  37. # Verify data after the test has been "shot"
  38. <verify>
  39. <protocol>
  40. GET /%TESTNUMBER HTTP/1.1
  41. Host: %HOSTIP:%HTTPPORT
  42. User-Agent: curl/%VERSION
  43. Accept: */*
  44. </protocol>
  45. # 27 == CURLE_OUT_OF_MEMORY
  46. <errorcode>
  47. 27
  48. </errorcode>
  49. </verify>
  50. </testcase>