xref: /curl/tests/data/test1555 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4RECURSIVE_API_CALL
5DELAY
6</keywords>
7</info>
8
9# Server-side
10<reply>
11<data nocheck="yes">
12HTTP/1.1 204 PARTIAL
13X-Comment: partial response to keep the client waiting
14</data>
15<postcmd>
16wait 10
17</postcmd>
18</reply>
19
20# Client-side
21<client>
22<server>
23http
24</server>
25<tool>
26lib%TESTNUMBER
27</tool>
28<name>
29verify api is protected against calls from callbacks
30</name>
31
32# this server/host won't be used for real
33<command>
34http://%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>
4442
45</errorcode>
46<stdout>
47curl_easy_recv returned 93
48curl_easy_send returned 93
49</stdout>
50</verify>
51</testcase>
52