Bug#785807: http_get cannot parse IPv6 addresses

Wolfgang Bumiller w.bumiller at proxmox.com
Wed May 20 12:14:48 UTC 2015


Package: libanyevent-http-perl
Version: 2.21-1
Tags: ipv6,fixed-upstream

This module's http_get() function fails to deal with IPv6 addresses in
the currently available version (2.21).

Simple test command:

$ perl -MAnyEvent::HTTP -e 'http_get("http://[::1]/hello", sub { print $_[1]{Status}, " => ", $_[1]{Reason}, "\n"; });'
599 => Unparsable URL

Expected output: None

The 2.22 release fixes this.
The diff between the two versions is rather small and an upgrade would be
greatly appreciated.



More information about the pkg-perl-maintainers mailing list