cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTP retries

From: Tim Tessier <ttessier_at_swhistlesoft.com>
Date: Fri, 28 Jan 2011 10:37:36 -0500

I believe that curl has options to specify the default timeouts for connect and other time related parameters.

See
--connect-timeout
-m/--max-time
--retry
--retry-delay
--retry-max-time

From the curl manual for details about the command line.

Wget is written by different people potentially than curl so it is reasonable that the defaults could be different not to mention about startup configuration files that could be coming into play. Also users of curl and wget could potentially be different and have different usage scenarios which could be a reason for the differences.

Thanks,
Tim

On 2011-01-28, at 8:37 AM, Gisle Vanem wrote:

> I'm just wondering why curl is so quick to give up on a TCP
> reset (after 21 sec). Wget gives up after 5 times and approx. 2 min, wink, wink. Somebody should try this slow server:

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-28