Skip Menu |

This queue is for tickets about the Net-IMAP-Server CPAN distribution.

Report information
The Basics
Id: 94226
Status: open
Priority: 0/
Queue: Net-IMAP-Server

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.38
Fixed in: (no value)



Subject: t/01-connect.t hangs on Linux
perl 5.18.1, ithreads $ perl -Mblib t/01-connect.t ok 1 - Server started ok 2 - Non-SSL connection OK ok 3 - Got connection message ok 4 - Line 1 of STARTTLS response matched ok 5 - Negotiated TLS Bad arg length for Socket::unpack_sockaddr_in, length is 28, should be 16 at /home/c/perl5/perlbrew/perls/18.1i/lib/5.18.1/i686-linux-thread-multi/Socket.pm line 824. (hangs) -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #94226] t/01-connect.t hangs on Linux
Date: Wed, 26 Mar 2014 19:27:15 -0400
To: bug-Net-IMAP-Server [...] rt.cpan.org
From: Alex Vandiver <alexmv [...] bestpractical.com>
On Wed, 2014-03-26 at 19:14 -0400, Alexandr Ciornii via RT wrote: Show quoted text
> perl 5.18.1, ithreads > > $ perl -Mblib t/01-connect.t > ok 1 - Server started > ok 2 - Non-SSL connection OK > ok 3 - Got connection message > ok 4 - Line 1 of STARTTLS response matched > ok 5 - Negotiated TLS > Bad arg length for Socket::unpack_sockaddr_in, length is 28, should be 16 at /home/c/perl5/perlbrew/perls/18.1i/lib/5.18.1/i686-linux-thread-multi/Socket.pm line 824. > (hangs)
Thanks for the report. Does "localhost" resolve to an ipv6 address on this machine, by any chance? - Alex
On Wed Mar 26 19:27:17 2014, alexmv@bestpractical.com wrote: Show quoted text
> On Wed, 2014-03-26 at 19:14 -0400, Alexandr Ciornii via RT wrote:
> > perl 5.18.1, ithreads > > > > $ perl -Mblib t/01-connect.t > > ok 1 - Server started > > ok 2 - Non-SSL connection OK > > ok 3 - Got connection message > > ok 4 - Line 1 of STARTTLS response matched > > ok 5 - Negotiated TLS > > Bad arg length for Socket::unpack_sockaddr_in, length is 28, should > > be 16 at /home/c/perl5/perlbrew/perls/18.1i/lib/5.18.1/i686-linux- > > thread-multi/Socket.pm line 824. > > (hangs)
> > Thanks for the report. Does "localhost" resolve to an ipv6 address on > this machine, by any chance?
yes, it does $ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 deb7.2.0.10.in-addr.arpa deb7 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback $ ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. -- Alexandr Ciornii, http://chorny.net