[PATCH 1/2] wget: make default timeout configurable, remove a duplicate line

Lauri Kasanen curaga at operamail.com
Thu Oct 17 08:48:31 UTC 2013


On Wed, Oct 16, 2013, at 22:23, Harald Becker wrote:
> >> GNU wget does kinda cater to this use: you can specify it in
> >> the .wgetrc file, but then that's only portable to GNU wget.
> >How about adding limited support for .wgetrc then (only for
> >timeouts)?
> 
> Just a suggestion ...
> 
> Support for .wgetrc is much bloat. What about looking for
> environment variable WGET_TIMEOUT? Ok it is not compatible with
> other other wget versions, but BB wget isn't neither. 

Checking for an env var would be more size. Having it as a compile-time
configure option means no size change, and we don't need the default to
change at runtime.

- Lauri

-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
                          love email again



More information about the busybox mailing list