Hi,

I think I might have found another bug in Event.

First I create an watcher io for a socket created 
with IO::Socket::INET, which has a client connected
(just after the accept) 
with the socket in non-blocking mode ($socket->blocking(0);)
for read (poll => 'r').

when this watcher gets called the socket will be in blocking mode
( $socket->blocking == 1 ).
This won't make a difference for line based protocols that just use
<$socket>  for reading, but it will block until the end of the connection
to the client if using sysread ($socket->sysread(); )

Of course, I am not a networking guru, so this behaviour could be 
expected when puting it in a poll/select like Event does.

Regards,

Raul Dias

Reply via email to