Skip Menu |

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

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

Owner: Nobody in particular
Requestors: peter [...]

Bug Information
Severity: Normal
Broken in: 2.007
Fixed in: (no value)

Subject: Net::Server::Fork - missing unpack using $sock->getsockopt
Download (untitled) / with headers
text/plain 666b
For every connection I get this output on console: Argument "\0\0\0^A\0\0\0^E\0\0\0\0\0\0\0\0\0\0\0M-\f^A^A\0\0\0M-^A..." isn't numeric in numeric eq (==) at /usr/local/site_perl/aix/Net/Server/ line 171. Line 171 of the module is this: if (SOCK_DGRAM == $sock->getsockopt(SOL_SOCKET,SO_TYPE)) { getsockopt does not return an integer. Out of documentation: "The function returns a packed string representing the requested socket option" So I changed the code to this, which solves the problem: if (SOCK_DGRAM == unpack("i",$sock->getsockopt(SOL_SOCKET,SO_TYPE))) { Version: 2.007 and 0.63 OS: AIX 6.1 Hope this helps Best regards Peter
Subject: [ #85570] Similar bug with another module (Mojolicious) on AIX, point on a bug/issue with IO::Socket
Date: Thu, 5 Dec 2013 09:52:19 -0500
To: bug-Net-Server [...]
From: yaberger [...]
Download (untitled) / with headers
text/plain 662b
Hi, Just to let you know that I've a similar bug with the module Mojolicious. In reference:!topic/mojolicious/T34XZX72LaA We've been able to point on the getsockopt() subroutine in IO::Socket and I've opened the following ticket: However, Mojolicious maintainer has been informed that the "CPAN IO::Socket" module is not maintained anymore but is included as part of the Perl core. So I'll need to report it against Perl itself (P5P). I'll refer my ticket and yours as it seems to be the same or a similar bug. Best regards, Yannick Bergeron Advisory IT Specialist

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

Please report any issues with to