bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] timeout question (regarding the code)


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] timeout question (regarding the code)
Date: Thu, 29 Mar 2012 21:09:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Micah Cowan <address@hidden> writes:

> On 03/29/2012 11:23 AM, Giuseppe Scrivano wrote:
>> Tim Ruehsen <address@hidden> writes:
>> 
>>> Hi,
>>>
>>> the wget man page says a timeout value of 0 means 'forever'.
>>> Even if seldom used, 0 seems to be a legal value.
>> 
>> it can't be a legal value.  It means the value you are waiting for is
>> immediately available.  That is not possible when you are waiting for
>> something coming from the network.
>
> His point would seem to be that this meaning differs from the one
> assigned to it in the manpage, and as originally intended.
>
> I believe it was meant to be analogous to -l 0, which is equivalent to
> -l inf.

sorry that I wasn't clear.  The documentation says "Setting a timeout to
0 disables it altogether".  That is the correct behaviour, if the code
doesn't do it, then it is a bug... and patches are welcome :-)

Giuseppe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]