cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Is --ftp-retry a good idea?

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Wed, 27 Oct 2004 02:07:04 -0500

On Tue, 26 Oct 2004 15:02:59 +0200 (CEST), Daniel Stenberg
<daniel-curl_at_haxx.se> wrote:
> On Tue, 26 Oct 2004, Ralph Mitchell wrote:
>
> > If you're going to add -ftp-retry, would there be a good case for adding
> > -http-retry as well?? I could sure use it - I've had to make some scripts
> > loop up to five times attempting to fetch a page.
>
> What conditions would the retry be based on in the HTTP case?

As James said, probably the 5xx range, maybe others. On connect
timeout, maybe?

> > Would it be any harder to add "-retry N" in order to retry the operation up
> > to N times before giving up??
>
> It would probably make a lot of sense as it would take away any possible need
> for --ftp-retry-count... :-)

Yeah, like we need yet another option... :)
Received on 2004-10-27