timeouts not functioning

2005-01-04 Thread Colin Kingsley
I'm sorry if this is the wrong place to report this problem, I I've
run out of options, so here goes.

I'm attempting to use wget's --timeout flag to limit the time spent
downloading a file. However, wget seems to ignore this setting. For
example, if I set --timeout=2, the download should take at most 6
seconds, because the dns, connect, and read timeouts are all 2
seconds. However, it does not seem to obey any such limit.

Please help
Colin


Re: timeouts not functioning

2005-01-04 Thread Jens Rösner
Hi Colin!

I am just another user and rarely use timeout. 
I hope I am not causing more trouble than I'm solving.

 I'm attempting to use wget's --timeout flag to limit the time spent
 downloading a file. However, wget seems to ignore this setting. For
 example, if I set --timeout=2, the download should take at most 6
 seconds, because the dns, connect, and read timeouts are all 2
 seconds. However, it does not seem to obey any such limit.

Maybe I am misinterpreting what you write, but it sounds as if you expect
wget to stop downloading the file after these 6 seconds? 
I think that timeout refers to the time wget will try an action until it
considers the trials a fail.
E.g.: when after 2 seconds there is no DNS conection, wget will time out, 
if after 2 seconds during get there is no data transferred, it will time
out.

CU
Jens

-- 
+++ Sparen Sie mit GMX DSL +++ http://www.gmx.net/de/go/dsl
AKTION für Wechsler: DSL-Tarife ab 3,99 EUR/Monat + Startguthaben