curl tool: don't abort glob-loop due to failures
authorDaniel Stenberg <daniel@haxx.se>
Mon, 6 Feb 2012 09:46:25 +0000 (10:46 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 6 Feb 2012 15:52:17 +0000 (16:52 +0100)
commit65103efe49a733ba0a4e50c8bd1e318ed31463f4
tree7a688e68e091133fc79afb76213044976a7cdbf1
parent466150bc64de0caef08f22cc8a88f7922483a639
curl tool: don't abort glob-loop due to failures

We want to continue to the next URL to try even on failures returned
from libcurl. This makes -f with ranges still get subsequent URLs even
if occasional ones return error. This was a regression as it used to
work and broke in the 7.23.0 release.

Added test case 1328 to verify the fix.

Bug: http://curl.haxx.se/bug/view.cgi?id=3481223
Reported by: Juan Barreto
src/tool_operate.c
tests/data/Makefile.am
tests/data/test1328 [new file with mode: 0644]