cURL / Mailing Lists / curl-users / Single Mail


Re: Bug in curl

From: Ralph Mitchell <>
Date: Wed, 6 Sep 2006 03:07:42 -0500

On 9/6/06, iskander iskander <> wrote:
> curl 7.15.1
> In cases of breakages in network CURL waits 30min

From the curl man page:

       --connect-timeout <seconds>
              Maximum time in seconds that you allow the connection to the
              server to take. This only limits the connection phase, once
              curl has connected this option is of no more use. See also the
              -m/--max-time option.

       -m/--max-time <seconds>
              Maximum time in seconds that you allow the whole operation to
              take. This is useful for preventing your batch jobs from hang-
              ing for hours due to slow networks or links going down. See
              also the --connect-timeout option.

It's documented, therefore it's a feature rather than a bug...

Ralph Mitchell
Received on 2006-09-06