mirror of
https://github.com/curl/curl.git
synced 2026-06-18 12:45:39 +03:00
- `N byte` -> `N-byte` or `N bytes`. - INTERNALS.md: language tweaks. - schannel: language tweak in comment/error message. - socks_gssapi, socks_sspi: simplify composing an error message. (at a cost of 8 extra constant string bytes.) - m4/curl-compilers.m4: fix typo in link (in comment). - contrithanks.sh: fix indent, drop stray `;` terminator. - lib, src, tests: drop/fix a bunch of badwords. - fix typos in comments. - fix indent, stray spaces. Some of these spotted by GitHub Code Quality and Copilot Closes #22009
50 lines
764 B
XML
50 lines
764 B
XML
<?xml version="1.0" encoding="US-ASCII"?>
|
|
<testcase>
|
|
<info>
|
|
<keywords>
|
|
RECURSIVE_API_CALL
|
|
DELAY
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
<data crlf="headers" 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>
|
|
lib%TESTNUMBER
|
|
</tool>
|
|
<name>
|
|
verify api is protected against calls from callbacks
|
|
</name>
|
|
|
|
# this server/host is not used for real
|
|
<command>
|
|
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# 42 == CURLE_ABORTED_BY_CALLBACK
|
|
<errorcode>
|
|
42
|
|
</errorcode>
|
|
<stdout>
|
|
curl_easy_recv returned 93
|
|
curl_easy_send returned 93
|
|
</stdout>
|
|
</verify>
|
|
</testcase>
|