Skip Menu |
Report information
Id: 131553
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: zengargoyle [at] gmail.com
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Date: Sat, 10 Jun 2017 13:07:23 -0700
From: zengargoyle <zengargoyle [...] gmail.com>
To: rakudobug [...] perl.org
Subject: IO::Socket::INET mishandles IPv6
Download (untitled) / with headers
text/plain 606b
$ perl6 -e 'say so IO::Socket::INET.new( :host<127.0.0.1>, :port(80));' True perl6 -e 'say so IO::Socket::INET.new( :host<127.0.0.1>, :port(80) :family(3));' True $ perl6 -e 'say so IO::Socket::INET.new( :host<::1>, :port(80) :family(3));' True $ perl6 -e 'say so IO::Socket::INET.new( :host<::1>, :port(80));' Failed to resolve host name in block <unit> at -e line 1 The :host<> of IO::Socket::INET should be agnostic as to IP protocol version. When given a hostname (or IPv*) there is no distinction between the versions. The current behavior will cause mysterious failures and is not consistent.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org