Subject: Re: Strange: libssh2_channel_read() returns 0

Re: Strange: libssh2_channel_read() returns 0

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 30 Apr 2009 00:14:08 +0200 (CEST)

On Wed, 29 Apr 2009, Jeremy Knope wrote:

> On this note, I still have a problem (only in 1.1) that is similar to this.
> libssh2_channel_read() returns 0 on occasion when connected to a OS X
> machine (10.4 or 10.5 at least) I'd connect and execute a couple commands
> and sometimes I wouldn't get any data for something like a simple "ls"

Have you tried to delay the reading somewhat to see if it works slightly more
reliable then? I'm not suggesting it is a fix, but it might help us get some
clues on what/where the problem is...

-- 
  / 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_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-04-30