test1522 732 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <testcase>
  2. <info>
  3. <keywords>
  4. CURLINFO_SIZE_UPLOAD
  5. </keywords>
  6. </info>
  7. # Server-side
  8. <reply>
  9. <data nocheck="yes">
  10. HTTP/1.1 200 OK
  11. Date: Tue, 09 Nov 2010 14:49:00 GMT
  12. Server: test-server/fake
  13. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  14. ETag: "21025-dc7-39462498"
  15. Accept-Ranges: bytes
  16. Content-Length: 6
  17. Connection: close
  18. Content-Type: text/html
  19. Funny-head: yesyes
  20. -foo-
  21. </data>
  22. </reply>
  23. #
  24. # Client-side
  25. <client>
  26. <server>
  27. http
  28. </server>
  29. <tool>
  30. lib%TESTNUMBER
  31. </tool>
  32. <name>
  33. CURLINFO_SIZE_UPLOAD with small SO_SNDBUF
  34. </name>
  35. <command>
  36. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  37. </command>
  38. </client>
  39. #
  40. # Verify data after the test has been "shot"
  41. <verify>
  42. <stdout>
  43. -foo-
  44. uploadSize = 40960
  45. !!!!!!!!!! PASS
  46. </stdout>
  47. </verify>
  48. </testcase>