www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: data overload

Re: data overload

From: Dave Hayden <dave_at_panic.com>
Date: Wed, 15 Aug 2012 17:39:49 -0700

On Aug 15, 2012, at 5:15 PM, Dave Hayden wrote:

> In _libssh2_channel_read() instead of calling _libssh2_transport_read() once if session->packets is empty, I and session->packets->count is below a constant limit.

D'oh. Make that

In _libssh2_channel_read() instead of calling _libssh2_transport_read() once if session->packets is empty, I read while rc > 0 and session->packets->count is below a constant limit.
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-08-16

the libssh2 team