DervishD <[EMAIL PROTECTED]> writes:

>  * Hrvoje Niksic <[EMAIL PROTECTED]> dixit:
>> >> Yes.  The "timeout" option is a shortcut for specifying all the
>> >> other options.
>> > What I mean is: if I don't specify 'timeout' in my wgetrc it has the
>> > default value ('900', AFAIK), but it is ignored?
>> I'm afraid I don't understand this question.  Is what ignored?  You
>> say you don't specify it -- how can it be ignored then?
>
> Sorry, I'm afraid my english is somewhat poor :((( What I mean is
> that the option 'timeout' has a default value if it is not specified
> in wgetrc, true?.

Not entirely.  The "timeout" does not translate to a single variable,
but to three variables.  Changing "timeout" modifies all three.

If you insist on thinking in terms of the default values, you can set
them like this:

# Defaults:
connect_timeout = 0
dns_timeout = 0
read_timeout = 900

# You can change any of the above by modifying the respective
# variables.  Using "timeout" changes them all at once, to a single
# value.  If that is not desired, simply do not use "timeout".

> The fact is that I'm using 'timeout' with its default value but the
> behaviour of wget is not the same as if I was not using 'timeout'.

That is correct, but that is by design -- see above.  Simply stop
thinking of "timeout" as of a single variable, and the problem will (I
hope) go away.  It worked for me.  :-)

[...]
> OK. I don't like that behaviour, but I understand the use of
> 'timeout', thanks :))

How would you have it behave?

Reply via email to