Re: libwww & IPv6

Andre-John Mas <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Organization http://groups.google.com
Message-ID <3c1a990c-9e6e-4c0f-80c6-b61ea11ffa5c@d21g2000prf.googlegroups.com>
On Mar 19, 9:32 pm, [email protected] (Andre-John Mas) wrote:
> Hi,
>
> Could anyone tell me whether any attempts have been made to add IPv6
> support to libwww? I am interested in this since I recently took a
> look at the w3c validator and discovered that it does not support IPv6
> address. The cause is apparently limitations in LWP.
>
> If no attempt has been made thus far, are there any people interested
> in making the necessary changes?
>
> Andre

I have started looking at the changes that need to be made, but I am
not a Perl expert. The changes I have been making are relative to
5.808. So far I have made basic modifications, which I have made
available here:

http://ajmas.twilightparadox.com/misc/libwww-perl-5.808%2bipv6.tgz

The changes are basically replacing references to IO::SOCKET::INET
with IO::SOCKET::INET6. There are still a few outstanding issues,
where IPv6 is not handled correctly. For example the url function in
the file:

  lib/HTTP/Daemon.pm

When this is complete libwww will require  IO::SOCKET::INET6 as a
dependency, but the library transparently handles IPv4, so it does not
seem to be much of an issue.

Any further improvements would be appreciated.

Andre
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.