On Tue, May 13, 2008 at 10:16:38AM -0700, Micah Cowan wrote:

> > wget currently prefers IPv4 over IPv6 (see the manpage, command line 
> > switch --prefer-family).
> FYI, the hard-coded default is expected to change for GNU Wget 1.12.
> https://savannah.gnu.org/bugs/?22755

Good news. Is there already a planned release date? I see the bug is
still open, so I guess the corresponding changes haven't hit the RCS
yet.

If wget 1.12 will appear in the not so distant future, it's probably the
best to wait for this new upstream release instead of writing a Debian
specific patch.

> > I suggest to add
> > 
> >    prefer_family=none
> > 
> > to /etc/wgetrc, thus using the order returned by the DNS (tunable via 
> > glibc's /etc/gai.conf)
> > If needed, I could write a patch (also changing the manpage entry). 
> 
> I'd recommend against changing the manpage entry; or, if you do, make it
> clear that it's the system wgetrc default that has changed, and not the
> hard-coded default (what Wget will use in the absence of a wgetrc).

Oh, thanks for bringing this to my attention, I've overlooked the
possibility to change

   int prefer_family = prefer_ipv4;

to prefer_none in init.c. (which is probably what you would do).

In this case, it wouldn't even be system's wgetrc, but more or less "all
Debian versions of wget since <some_release_number>".


I cannot say if this would lead to confusion. However, I prefer the idea
to wait for upstream.


-- 
mail: [EMAIL PROTECTED]         http://adi.thur.de      PGP/GPG: key via 
keyserver



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to