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

Re: writing to channel limited to 2 Mb?

From: Daniel Stenberg <>
Date: Thu, 11 Aug 2011 11:07:53 +0200 (CEST)

On Thu, 11 Aug 2011, Przemysław Szczygielski wrote:

> Well, it isn't exactly my code, as it is part of a library that is a wrapper
> to libssh2:

Ah right. And it looks like libqxt uses a bundled version of libssh2 1.2.6 so
you may in fact be suffering from older bugs too. (Unless you can configure it
to use an externally provided version.)

> So instead of "return 0" I should call libssh2_session_block_directions()
> and wait until either read or write to channel is available, depending on
> block_directions result?

Yes, it should. This is of course completely unrelated to this patch as that's
just how the libssh2 non-blocking API works!


Received on 2011-08-11