|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-3037362 ] Using -f ignores --retry
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 30 Jul 2010 23:27:55 +0000
Bugs item #3037362, was opened at 2010-07-30 23:27
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
This may have already been reported but searching for "curl f retry" does not go very far.
When using the -f option curl does not attempt to retry the URL on a 503 instead it immediately returns the first failure.
I would be great if curl could rety the url then when it finally fails return the error for it. I can write a retry loop myself and will but it would have been nice since curl can already retry to have it do the work for me
To reproduce
#this tries 4 times and then returns 0
curl -f --retry-delay 2 --retry 3 -m 10 'someURLthat503s' -o /tmp/tmp.LYMrNZqaVY;
Desired behavior
Implications forces retry coding onto scripts
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info