Following up to my own e-mail. I have posted the changes on my
Geocities page:

tar archive: http://www.geocities.com/ajmas/software/libwww-perl-5.808-ipv6.tgz
patch: http://www.geocities.com/ajmas/software/libwww-perl-5.808-ipv6-diff.txt

Its not a perfect job, but if there are any maintainers of libwww
still around then I would like to see them getting merged in. In the
meantime I would appreciate anyone looking at the changes and tweaking
them as necessary. One thing to note is that the test cases are a
little broken with this.

What all this gives me at the moment is the ability to use the w3c
validator with both IPv4 and IPv6 addresses.

Andre

On Mar 20, 11:33 am, [EMAIL PROTECTED] (Andre-John Mas) wrote:
> 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

Reply via email to