curl-users
Re: Three state in the same Error code :-X
Date: Thu, 4 Oct 2007 10:34:07 +0200 (CEST)
On Thu, 4 Oct 2007, Sebastien WILLEMIJNS wrote:
>> When you use "-m 1" you lower the default timeout to 1000 milliseconds,
>> yes.
>
> No, when i use -m (--max-time), i ask the program to stop whathever his case
> when download has began...
Yes, but to do that, the default timeouts will have to be lowered to 1000
milliseconds.
> -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 hanging for hours due
> to slow networks or links going down. See also the --connect-timeout
> option.
>
> We can see another trouble, when download has began what is the defaut
> timeout ? because --connect-timeout is not used ;)
Once the transfer phase starts, there is no default timeouts at all. The
default timeouts I refer to are for name resolving and connecting.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-10-04