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.
--
/ daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel