retry: consider retrying even if -f is used
authorDaniel Stenberg <daniel@haxx.se>
Sun, 1 Aug 2010 22:10:18 +0000 (00:10 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 1 Aug 2010 22:10:18 +0000 (00:10 +0200)
commitf38e52071e19dc16cf59c1719f37ec555b4c75b5
treef0bae487d0cfb26a2a079b78e1b160dfe0b50cd0
parent811fcccfc97ee6545f1b9d28ac0dd9ea93a81ab8
retry: consider retrying even if -f is used

The --retry logic does retry HTTP when some specific response codes are
returned, but because the -f option sets the CURLOPT_FAILONERROR to
libcurl, the return codes are different for such situations and then the
curl tool failed to consider it for retrying.

Reported by: Mike Power
Bug: http://curl.haxx.se/bug/view.cgi?id=3037362
src/main.c