DervishD <[EMAIL PROTECTED]> writes:

>> I think I'll modify the Makefile.  A patch that fixes (or points
>> out) the typo in the documentation would be appreciated, though.
>
> Attached. Is a one-liner, though...

Applied now, thanks.

> Just one more thing: reading the info, I don't understand the
> precedence of the timeout settings. For example, I put this in my
> global rc:
>
>     connect_timeout=60 
>     dns_timeout=0
>     read_timeout=600
>     timeout=0
>
> Notice the last line. Will does that mean that *all* timeouts are
> disabled,

Yes.  The "timeout" option is a shortcut for specifying all the other
options.

> even though I state explicitly the contrary on the above lines? Does
> a '0' in 'dns_timeout' disable DNS timeouts (or let the timeout be
> the one chosen by the system, that is right for me, too)?.

The latter -- a 0 timeout is always the one chosen by the system.

> This links with my other question: I want to put *all* wgetrc
> commands in my wgetrc file, with their defaults if I haven't change
> them, just for reference (is easier for me). The problem is that I
> don't know what are the defaults of some entries, or even if I can
> put things like 'accept=', without a value, in the rc file. Could
> you help me on this?

I think you should be able to use `accept='.  As for the defaults,
take a look at the defaults() function in src/init.c.

Reply via email to