Subject: Re: libssh2_poll()

Re: libssh2_poll()

From: Daniel Stenberg <>
Date: Fri, 18 Jun 2010 09:10:51 +0200 (CEST)

On Fri, 18 Jun 2010, Peter Stuge wrote:

>> What if there are no channels?
> Then there won't be much data. This case isn't covered at all by the current
> API. It's an important point to keep in mind for the future improvements.

Indeed. My suggested approach with a single function "libssh2_session_pump"
(name yet to be decided) that basically gets everything from the socket will
fix this flaw.

Received on 2010-06-18