Subject: Re: writing to channel limited to 2 Mb?

Re: writing to channel limited to 2 Mb?

From: Przemysław Szczygielski <qus123_at_gmail.com>
Date: Thu, 11 Aug 2011 10:34:41 +0200

>
>
> if(channel->local.window_size <= 0)
> /* there's no room for data so we stop */
> - return 0;
> + return (rc==LIBSSH2_ERROR_EAGAIN?rc:**0);
>
>
 If I patch my version of libssh2 like above, should I use some additional
magic to resolve this EAGAIN condition? Send some window adjustment packet,
or whatever (sorry, I have no idea what I am talking about...) Or just wait
until this EAGAIN goes away?

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-08-11