test1555 731 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <testcase>
  2. <info>
  3. <keywords>
  4. RECURSIVE_API_CALL
  5. </keywords>
  6. </info>
  7. # Server-side
  8. <reply>
  9. <data nocheck="yes">
  10. HTTP/1.1 204 PARTIAL
  11. X-Comment: partial response to keep the client waiting
  12. </data>
  13. <postcmd>
  14. wait 10
  15. </postcmd>
  16. </reply>
  17. # Client-side
  18. <client>
  19. <server>
  20. http
  21. </server>
  22. <tool>
  23. lib%TESTNUMBER
  24. </tool>
  25. <name>
  26. verify api is protected against calls from callbacks
  27. </name>
  28. # this server/host won't be used for real
  29. <command>
  30. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  31. </command>
  32. </client>
  33. # Verify data after the test has been "shot"
  34. <verify>
  35. <protocol>
  36. </protocol>
  37. # 42 == CURLE_ABORTED_BY_CALLBACK
  38. <errorcode>
  39. 42
  40. </errorcode>
  41. <stdout>
  42. curl_easy_recv returned 93
  43. curl_easy_send returned 93
  44. </stdout>
  45. </verify>
  46. </testcase>