Hrvoje,
This is different from what I observed:
- I execute a cgi by wget. The cgi should return a file of about 7MB.
- Data start coming, and after 15 minutes, while the file is not
complete, wget starts a new trial.

Luigi 

-----Original Message-----
From: Hrvoje Niksic [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2003 9:35 PM
To: Luigi Stefano Sona (lsona)
Cc: [EMAIL PROTECTED]
Subject: Re: About termination of wget and -T option


"Luigi Stefano Sona (lsona)" <[EMAIL PROTECTED]> writes:

> About -T, you confirm that anyway, the timeout is for the start of
> the answer, not for the finish ?

Almost.  In fact, the timeout applies whenever the download "stalls",
at any point when Wget waits for data to arrive.  You can think of it
this way: Wget reads data in a loop like this one:

while data_pending:
  read_chunk_from_network
  write_chunk_to_disk

If a "read_chunk_from_network" step takes more than 15min, the
download is interrupted (and retried).  But the whole download can
take as long as it takes.

Reply via email to