cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 27 Oct 2004 17:34:14 +0200 (CEST)

On Tue, 26 Oct 2004, Eric VERGNAUD wrote:

> Retry count is mandatory, so is retry delay.

Ok, I'm now making the option like "--retry [num]" so you always tell it how
many times to retry an operation.

What would the "retry delay" specify? Currently, I've made the first retry get
made with a 1 second sleep and then I double the sleep time after each failure
but with a 60 second delay maximum.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-10-27