On Wed, 29 Apr 2009, double wrote:

> Exec "uptime" on a remote machine (LAN) does not return the "stdout" output, 
> if "libssh2_channel_read()" is not called fast enough. Instead, 
> "libssh2_channel_read()" returns zero.
>
> This issue may be reproduced via the attached c-file. If the "sleep(3)" 
> right before "libssh2_channel_read()" is removed, everything works fine.

Ouch. It does indeed look like a bug. I'll try to get some time to look into 
this.

-- 

  / daniel.haxx.se

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to