]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_operate: a failed etag save now only fails that transfer
authorDaniel Stenberg <daniel@haxx.se>
Tue, 2 Nov 2021 14:16:18 +0000 (15:16 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 4 Nov 2021 12:56:15 +0000 (13:56 +0100)
commitcc71d352651a0d954227fac62c1395c56b1cff45
treebeba515702ce004810c165d08ae5aa899ff00d7e
parentc84435829955f1503e508bc86a9ce915da2007ec
tool_operate: a failed etag save now only fails that transfer

When failing to create the output file for saving an etag, only fail
that particular single transfer and allow others to follow.

In a serial transfer setup, if no transfer at all is done due to them
all being skipped because of this error, curl will output an error
message and return exit code 26.

Added test 369 and 370 to verify.

Reported-by: Earnestly on github
Ref: #7942
Closes #7945
src/tool_operate.c
tests/data/Makefile.inc
tests/data/test369 [new file with mode: 0644]
tests/data/test370 [new file with mode: 0644]