Re: Meaning of --timeout

2020-08-14 Thread Peng Yu
On 8/14/20, Tim Rühsen wrote: > The rest of the time is the overall operation of wget. > > DNS timeout only applies to DNS lookups - each one must not take longer > than --dns-timeout. > > Connect timeout is the max time a connection phase to a server may take. > When connected, the

Re: Meaning of --timeout

2020-08-14 Thread Tim Rühsen
The rest of the time is the overall operation of wget. DNS timeout only applies to DNS lookups - each one must not take longer than --dns-timeout. Connect timeout is the max time a connection phase to a server may take. When connected, the request/response workload begins, consisting of an

Re: Meaning of --timeout

2020-08-09 Thread Peng Yu
I saw that in the man. What are the rest of the time besides dns-time, connect-time, read-time? Thanks. On Sun, Aug 9, 2020 at 5:50 AM Tim Rühsen wrote: > Hi, > > --timeout is explained in `man wget`. > > In short: it doesn't stop wget after N seconds - it's a shortcut for > setting

Re: Meaning of --timeout

2020-08-09 Thread Tim Rühsen
Hi, --timeout is explained in `man wget`. In short: it doesn't stop wget after N seconds - it's a shortcut for setting --dns-timeout + --connect-timeout + --read-timeout. For such tasks you can easily use the `timeout` command from GNU coreutils. Regards, Tim On 08.08.20 21:05, Peng Yu wrote:

Meaning of --timeout

2020-08-08 Thread Peng Yu
I want to set the time by which wget must finish. But it seems --timeout doesn't do so. If I set it to N, wget can not guarantee to finish in N seconds. Could anybody explain why --timeout can not be used for this purpose? How to achieve this goal? -- Regards, Peng