Skip Menu |

This queue is for tickets about the IO CPAN distribution.

Report information
The Basics
Id: 38731
Status: resolved
Priority: 0/
Queue: IO

People
Owner: Nobody in particular
Requestors: gilles.lamiral [...] laposte.net
Cc:
AdminCc:

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



Subject: IO::Socket::INET Timeout no longer works
Date: Tue, 26 Aug 2008 14:37:17 +0200
To: bug-IO [...] rt.cpan.org
From: Gilles LAMIRAL <gilles.lamiral [...] laposte.net>
Hello, First, many thanks to develop and support free softwares. perldoc IO::Socket::INET says Timeout Timeout value for various operations But the timeout method seems not longer supported, it doesn't work, there is even code removing the Timeout argument : IO::Select sub new { ... ${*$sock}{'io_socket_timeout'} = delete $arg{Timeout}; I guess there are good reasons for this. So the best is to correct the documentation and warn the coder that the Timeout is no longer a timeout value for various operations. I have a socket pending for several hours. Thanks in advance. -- Au revoir, 02 99 64 31 77 Gilles Lamiral. France, Chavagne (35310) 06 20 79 76 06
Subject: [rt.cpan.org #38731] AutoReply: IO::Socket::INET Timeout no longer works
Date: Tue, 26 Aug 2008 15:14:54 +0200
To: bug-IO [...] rt.cpan.org
From: Gilles LAMIRAL <gilles.lamiral [...] laposte.net>
Hello, Show quoted text
> There is even code removing the > Timeout argument : > > IO::Select > sub new { > ... > ${*$sock}{'io_socket_timeout'} = delete $arg{Timeout};
Sorry, this analyse is stupid since delete returns the value! But timeout still doesn't work for various operations, the value in io_socket_timeout doesn't seem to be used, I found several places where the code is commented. -- Au revoir, 02 99 64 31 77 Gilles Lamiral. France, Chavagne (35310) 06 20 79 76 06