File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1555
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (4 years, 6 months ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

<testcase>
<info>
<keywords>
RECURSIVE_API_CALL
</keywords>
</info>

# Server-side
<reply>
<data nocheck="yes">
HTTP/1.1 204 PARTIAL
X-Comment: partial response to keep the client waiting
</data>
<postcmd>
wait 10
</postcmd>
</reply>

# Client-side
<client>
<server>
http
</server>
<tool>
lib1555
</tool>
 <name>
verify api is protected against calls from callbacks
 </name>

# this server/host won't be used for real
 <command>
http://%HOSTIP:%HTTPPORT/1555
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<protocol>
</protocol>
# 42 == CURLE_ABORTED_BY_CALLBACK
<errorcode>
42
</errorcode>
<stdout>
curl_easy_recv returned 93
curl_easy_send returned 93
</stdout>
</verify>
</testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>