Micah Cowan <[email protected]> writes: > On 03/29/2012 11:23 AM, Giuseppe Scrivano wrote: >> Tim Ruehsen <[email protected]> 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
