Skip Menu |

This queue is for tickets about the Net-SSH2 CPAN distribution.

Report information
The Basics
Id: 17308
Status: resolved
Priority: 0/
Queue: Net-SSH2

People
Owner: Nobody in particular
Requestors: sam [...] liddicott.com
Cc:
AdminCc:

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



Subject: poll(0 does not block
$ssh2->poll(0, returns immediately. $ssh->poll(90000000, does not return immediately. I conclude that poll(0 is not blocking I'm running 2.6.11.7-dbamE #5 Fri Nov 25 12:26:32 GMT 2005 i686 i686 i386 GNU/Linux with perl, v5.8.0 built for i386-linux-thread-multi (with 1 registered patch, see perl -V for more detail)
This is misdocumented. I checked the libssh2 source (poll isn't yet documented on account of their "documentation guy" leaving) and it doesn't block either so I'm going to fix the documentation for 0.07.