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