Skip Menu |
 

This queue is for tickets about the IO-Socket-IP CPAN distribution.

Report information
The Basics
Id: 81549
Status: resolved
Priority: 0/
Queue: IO-Socket-IP

People
Owner: Nobody in particular
Requestors: leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.17
Fixed in: 0.18



Download (untitled) / with headers
text/plain 596b
02:06 <sri> hey, found another incompatibility between IO::Socket::IP and IO::Socket::INET 02:07 <sri> my $h = IO::Socket::IP->new; $h->fdopen($some_inherited_listen_socket, 'r'); 02:07 <sri> "Use of uninitialized value in numeric eq (==) at /Users/sri/perl5/perlbrew/perls/perl- 5.16.2/lib/site_perl/5.16.2/IO/Socket/IP.pm line 651." 02:08 <sri> it's the socktype 02:08 <sri> everything works with both modules, just a lot of warnings being spammed for ::IP 02:09 <sri> i've not looked into it, but suspect ::IP uses different defaults than ::INET or something minor like that -- Paul Evans
Seems to only affect 5.12 and before; 5.14 are fine. -- Paul Evans
Download (untitled) / with headers
text/plain 261b
On Thu Nov 29 18:29:29 2012, PEVANS wrote: Show quoted text
> Seems to only affect 5.12 and before; 5.14 are fine.
Looks simple enough. $ perl5.12.4 -MIO::Socket -E 'say $IO::Socket::VERSION' 1.31 $ perl5.14.2 -MIO::Socket -E 'say $IO::Socket::VERSION' 1.32 -- Paul Evans
Download (untitled) / with headers
text/plain 407b
Huh.. actually version isn't anything to do with it. It's a locally applied debian patch: DEBPKG:fixes/socket_cache_propagate - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659075 [rt.cpan.org #61577] [perl #112736] sockdomain and socktype undef on newly accepted sockets So actually it needs IO::Socket 1.35 or above; a ->sockopt( SO_TYPE ) fetching workaround is needed before then. -- Paul Evans
Now released as 0.18; should be on CPAN soon. -- Paul Evans


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.