Bug#659075: [rt.cpan.org #61577] ->sockdomain and ->socktype undefined on newly ->accept'ed sockets

Father Chrysostomos via RT bug-IO at rt.cpan.org
Tue Feb 14 06:17:24 UTC 2012


<URL: https://rt.cpan.org/Ticket/Display.html?id=61577 >

On Thu Feb 09 12:03:42 2012, dkg at fifthhorseman.net wrote:
> Hi perl porters--
> 
> There appears to be a flaw in IO::Socket where some IO::Socket objects
> are unable to properly report their socktype, sockdomain, or protocol
> (they return undef, even when the underlying socket is sufficiently
> initialized to have these properties).
> 
> The attached patch has been forwarded to CPAN's #61577 [0] and debian's
> #659075 [1], and should address these issues no matter why the cached
> details happen to be missing.

Is there any chance you could include tests cases, too?








More information about the Perl-maintainers mailing list