Package: libhttp-daemon-perl / 6.01-3
Metadata
Package | Version | Patches format |
---|---|---|
libhttp-daemon-perl | 6.01-3 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
0001 Add IPv6 support.patch | (download) |
Makefile.PL |
1 1 + 0 - 0 ! |
add ipv6 support MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit This patch ports the code from IO::Socket::INET to IO::Socket::IP in order to support IPv6. CPAN RT #91699, #71395. Signed-off-by: Petr Psa <ppisar@redhat.com> Bug: https://rt.cpan.org/Public/Bug/Display.html?id=91699 |
0002 Handle undef and empty LocalAddr.patch | (download) |
lib/HTTP/Daemon.pm |
8 8 + 0 - 0 ! |
handle undef and empty localaddr MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit IO::Socket::INET interprets undefined and empty string LocalAddr arguments as an unspecified address while IO::Socket::IP returns an |
0003 Resolve specific socket addresses correctly.patch | (download) |
lib/HTTP/Daemon.pm |
15 13 + 2 - 0 ! |
resolve specific socket addresses correctly MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Previous code did not formatted specific (not 0.0.0.0 or ::) correctly: $ perl -MHTTP::Daemon -e '$d=HTTP::Daemon->new(LocalAddr=>q{127.0.0.2}) or die; print $d->url, qq{\n}' Can't call method "sockhostname" without a package or object reference at /usr/share/perl5/vendor_perl/HTTP/Daemon.pm line 64. This patch also fixes formatting numerical IPv6 addresses. It seems that IO::Socket::IP::sockhostname() formats unresolvable addresses too. Signed-off-by: Petr Psa <ppisar@redhat.com> Bug: https://rt.cpan.org/Public/Bug/Display.html?id=125242 |
1