Red Hat Bugzilla – Bug 14779
Perl IO:;Socket Timeout Broken
Last modified: 2008-05-01 11:37:57 EDT
Perl won't create an IO socket with a timeout value. This totally breaks
Net::LDAP. I suspect a lot of other CPAN modules are going to be seriously
broken also by this.
$test = new IO::Socket::INET(
PeerAddr => 'www.redhat.com',
PeerPort => 80,
Proto => 'tcp',
Timeout => 120
Will produce 'undef'. Same code without the timeout line works fine. This
works fine with RedHat 6.2/Perl 5.00503.
*** Bug 14863 has been marked as a duplicate of this bug. ***
This should be fixed in perl-5.6.0-7 and later. Please reopen this
bug ID if you find that this is not the case.
*** Bug 14990 has been marked as a duplicate of this bug. ***
*** Bug 15199 has been marked as a duplicate of this bug. ***