Subject: Re: Strange: libssh2_channel_read() returns 0

Re: Strange: libssh2_channel_read() returns 0

From: Jeremy Knope <jerome_at_ambrosiasw.com>
Date: Tue, 5 May 2009 09:29:24 -0400

fantastic, looks like it works beautifully. much appreciated, very
happy to have this fixed so I can move to using 1.1 instead of the
archaic 0.13 I was using :)

--
Jeremy Knope / Software Developer / Ambrosia Software, Inc. -- http://www.AmbrosiaSW.com/
On May 1, 2009, at 3:13 PM, Daniel Stenberg wrote:
> On Fri, 1 May 2009, Daniel Stenberg wrote:
>
>>> Right now I'm using a call that reads up to 4096 bytes, calls
>>> libssh2_channel_read (in blocking mode) until it returns 0 bytes.
>>
>> By doing this you should expect to risk hanging a long time on a  
>> read at
>> times.
>
> bug #2785173 [*] was just filed (and I've committed a fix) and it is  
> certainly
> related to this same area. It'd be nice if you retried your code  
> with the
> latest CVS to see if you possibly suffered from that mistake!
>
> [*] =
> https://sourceforge.net/tracker/index.php?func=detail&aid=2785173&group_id=125852&atid=703942
>
> -- 
>
>  / 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
>
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-05-05