From 271d04eee1933df0971f54f7bf9a5ca3575e7e6a Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Fri, 17 Feb 2012 14:29:14 -0800 Subject: [rt.cpan.org #61577] sockdomain and socktype undef on newly accepted sockets 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 should cover IO::Socket objects created via accept(), new_from_fd(), new(), and anywhere else whose details haven't been properly cached. No new code should be executed on IO::Socket objects whose details are already cached and present. --- META.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'META.yml') diff --git a/META.yml b/META.yml index 9271e61e8a..faa01d5af3 100644 --- a/META.yml +++ b/META.yml @@ -78,6 +78,9 @@ no_index: - dist/IO/poll.c - dist/IO/poll.h - dist/IO/README + - dist/IO/t/cachepropagate-tcp.t + - dist/IO/t/cachepropagate-udp.t + - dist/IO/t/cachepropagate-unix.t - dist/IO/t/IO.t - dist/IO/t/io_const.t - dist/IO/t/io_dir.t -- cgit v1.2.1