Hi!

There seems to be issues with the IPv6-code in wget 1.10 when running on AIX 5.1. It seems that invalid flags are passed to getaddrinfo by default:

--------------------8<-----------------------------------
% wget http://ftp.acc.umu.se/mirror/ftp-about.html
--14:58:37--  http://ftp.acc.umu.se/mirror/ftp-about.html
           => `ftp-about.html'
Resolving ftp.acc.umu.se... failed: Invalid flags in hints.
--------------------8<-----------------------------------

When specifying only ipv4 or ipv6 it seems to work as intended (the machine has no ipv6 enabled, nor does ftp.acc.umu.se).

--------------------8<-----------------------------------
% wget -4 http://ftp.acc.umu.se/mirror/ftp-about.html
--14:59:15--  http://ftp.acc.umu.se/mirror/ftp-about.html
           => `ftp-about.html'
Resolving ftp.acc.umu.se... 130.239.18.165, 130.239.18.173, 130.239.18.137, ...
Connecting to ftp.acc.umu.se|130.239.18.165|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,788 (2.7K) [text/html]

100%[====================================>] 2,788         --.--K/s

14:59:15 (6.61 MB/s) - `ftp-about.html' saved [2788/2788]
--------------------8<-----------------------------------

--------------------8<-----------------------------------
% wget -6 http://ftp.acc.umu.se/mirror/ftp-about.html
--14:59:45--  http://ftp.acc.umu.se/mirror/ftp-about.html
           => `ftp-about.html.1'
Resolving ftp.acc.umu.se... failed: Host not found.
--------------------8<-----------------------------------

Since we don't have ipv6 enabled, we compiled with --disable-ipv6 as a workaround.

I'm not getting any wiser by looking at the AIX getaddrinfo manpage or the wget sourcecode, so I have no patch to solve the problem. Any hints/patches/ideas are welcome. If you need additional information, don't hesitate to ask.


/Nikke
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     [EMAIL PROTECTED]
---------------------------------------------------------------------------
 Is it a bigger crime to rob a bank or to open one?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Reply via email to