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