Hi, the wget man page says a timeout value of 0 means 'forever'. Even if seldom used, 0 seems to be a legal value.
There is a warning in gnutls.c about a not initialised value: gnutls.c: In function 'wgnutls_read_timeout': gnutls.c:163:54: warning: 'timer' may be used uninitialized in this function [-Wuninitialized] Having a value of zero in opt.read_timeout would likely crash wget. But to fix this I need clarification. What should the code do in case of opt.read_timeout == 0 ? At the moment it looks like zero means 'immediate'. But than, is the man page wrong ? Tim