In perl.git, the branch tonyc/cpan61577 has been created
<http://perl5.git.perl.org/perl.git/commitdiff/02ba731fff26361dc52e40449ecce77b26700db0?hp=0000000000000000000000000000000000000000>
at 02ba731fff26361dc52e40449ecce77b26700db0 (commit)
- Log -----------------------------------------------------------------
commit 02ba731fff26361dc52e40449ecce77b26700db0
Author: Tony Cook <[email protected]>
Date: Wed May 9 16:02:17 2012 +1000
sometimes fork() isn't available
M dist/IO/t/cachepropagate-tcp.t
M dist/IO/t/cachepropagate-unix.t
commit 8dd437d9108bceabc246ac6b5c3f7be8790ec5e2
Author: Tony Cook <[email protected]>
Date: Wed May 9 15:58:27 2012 +1000
convert the new tests to Test::More as suggested by Nicholas
M dist/IO/t/cachepropagate-tcp.t
M dist/IO/t/cachepropagate-udp.t
M dist/IO/t/cachepropagate-unix.t
commit baf9ceb36b0c52cfff0d7e8c35ac7957c941b6dc
Author: Daniel Kahn Gillmor <[email protected]>
Date: Fri Feb 17 14:29:14 2012 -0800
[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.
M AUTHORS
M MANIFEST
M META.yml
M dist/IO/lib/IO/Socket.pm
A dist/IO/t/cachepropagate-tcp.t
A dist/IO/t/cachepropagate-udp.t
A dist/IO/t/cachepropagate-unix.t
-----------------------------------------------------------------------
--
Perl5 Master Repository