Bug#596176: [rt.cpan.org #61200] IPv6 support for HTTP::Server::Simple

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Nov 28 07:06:58 UTC 2011


The original IPv6 patch for HTTP::Server::Simple proposed by Mats [0]
produces the following warnings:

Subroutine HTTP::Server::Simple::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
 at /usr/share/perl5/HTTP/Server/Simple.pm line 7
Subroutine HTTP::Server::Simple::unpack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
 at /usr/share/perl5/HTTP/Server/Simple.pm line 7
Subroutine HTTP::Server::Simple::sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
 at /usr/share/perl5/HTTP/Server/Simple.pm line 7

The attached patch avoids those warnings while still enabling IPv6
support.

I can confirm that this patch provides a baseline of IPv6 support for
HTTP::Server::Simple.  Please adopt it, or provide an alternate IPv6
implementation for this package.

Thanks for maintaining HTTP::Server::Simple!

       --dkg

[0] http://bugs.debian.org/596176#10

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-support-ipv6.patch
Type: text/x-diff
Size: 5806 bytes
Desc: support IPv6 in HTTP::Server::Simple
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20111128/4b9038de/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 965 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20111128/4b9038de/attachment.pgp>


More information about the pkg-perl-maintainers mailing list