curl-curl/tests
Jay Satiro e7247d8697 tool_operate: keep failed partial download for retry auto-resume
- Keep data from a failed download instead of discarding it on retry in
  some limited cases when we know it's ok (currently only HTTP 200/206).

Prior to this change on failed transfer the tool truncated any outfile
data written before retrying the transfer. This change adds an exception
for HTTP downloads when the user requested auto-resume, because in that
case we can keep the outfile data and resume from the new position.

Reported-by: tkzv@users.noreply.github.com

Fixes https://github.com/curl/curl/issues/18035
Closes https://github.com/curl/curl/pull/18665
2025-10-09 14:39:27 -04:00
..
certs
cmake lib: stop overriding system printf symbols 2025-10-06 20:57:59 +02:00
data tool_operate: keep failed partial download for retry auto-resume 2025-10-09 14:39:27 -04:00
http GHA: bump dependencies 2025-10-08 16:07:58 +02:00
libtest mk-lib1521: verify the setopt options that accept -1 2025-10-09 10:42:40 +02:00
server tests/server: drop pointless memory allocation overrides 2025-10-08 12:53:49 +02:00
tunit lib: stop overriding system printf symbols 2025-10-06 20:57:59 +02:00
unit multi: add notifications API 2025-10-07 10:55:31 +02:00
.gitignore
allversions.pm
appveyor.pm
azure.pm
CMakeLists.txt pytest: skip specific tests for no-verbose builds 2025-10-02 10:41:46 +02:00
config.in
configurehelp.pm.in
devtest.pl tidy-up: formatting 2025-08-23 01:12:27 +02:00
dictserver.py
directories.pm
ech_combos.py
ech_tests.sh tidy-up: formatting 2025-08-23 01:12:27 +02:00
ftpserver.pl
getpart.pm
globalconfig.pm perlcheck: add script, run in CI, fix fallouts 2025-09-26 14:47:33 +02:00
http2-server.pl
http3-server.pl
http-server.pl
Makefile.am runtests: replace --ci with --buidinfo, show OS/Perl version again 2025-08-21 13:11:32 +02:00
memanalyze.pl
negtelnetserver.py
nghttpx.conf
pathhelp.pm perlcheck: add script, run in CI, fix fallouts 2025-09-26 14:47:33 +02:00
processhelp.pm
requirements.txt GHA: bump pip cryptography, relax impacket version requirement 2025-09-25 14:22:40 +02:00
rtspserver.pl
runner.pm perlcheck: add script, run in CI, fix fallouts 2025-09-26 14:47:33 +02:00
runtests.pl perlcheck: add script, run in CI, fix fallouts 2025-09-26 14:47:33 +02:00
secureserver.pl
serverhelp.pm
servers.pm perlcheck: add script, run in CI, fix fallouts 2025-09-26 14:47:33 +02:00
smbserver.py
sshhelp.pm
sshserver.pl
test745.pl perlcheck: add script, run in CI, fix fallouts 2025-09-26 14:47:33 +02:00
test971.pl
test1119.pl
test1132.pl
test1135.pl
test1139.pl
test1140.pl
test1165.pl
test1167.pl
test1173.pl
test1175.pl
test1177.pl
test1222.pl
test1275.pl
test1276.pl
test1477.pl
test1486.pl
test1488.pl
test1544.pl
test1707.pl
testcurl.pl perlcheck: add script, run in CI, fix fallouts 2025-09-26 14:47:33 +02:00
testutil.pm perlcheck: add script, run in CI, fix fallouts 2025-09-26 14:47:33 +02:00
tftpserver.pl
util.py
valgrind.pm
valgrind.supp