Subject: Re: Strange: libssh2_channel_read() returns 0

Re: Strange: libssh2_channel_read() returns 0

From: Daniel Stenberg <>
Date: Thu, 30 Apr 2009 12:32:48 +0200 (CEST)

On Wed, 29 Apr 2009, double wrote:

> This issue may be reproduced via the attached c-file. If the "sleep(3)"
> right before "libssh2_channel_read()" is removed, everything works fine.

I could reproduce it. I tracked it down. I committed a fix. It doesn't happen
any more for me.

Please give the CVS version a shot and see if it works for you too now!

Thanks for the nice bug report!

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.
libssh2-devel mailing list
Received on 2009-04-30