curl-curl/tests/data/test1673
Daniel Stenberg 9820e5dfac
tool_operate: fix memory-leak on failed uploads
Add test case 1673 to do repeated upload failures and verify there is no
leak. This proved a previous leak and now it verifies the fix.

Reported-by: James Fuller
Closes #21062
2026-03-22 23:58:02 +01:00

26 lines
366 B
XML

<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
upload
--retry
</keywords>
</info>
<client>
<name>
HTTP retry upload with missing upload file
</name>
<command>
http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER --retry 5 --retry-all-errors --upload-file AAAAAAAAAAA
</command>
</client>
<verify>
<errorcode>
26
</errorcode>
</verify>
</testcase>