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

Re: writing to channel limited to 2 Mb?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 11 Aug 2011 11:10:30 +0200 (CEST)

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

> OK, after calling block_directions before return 0 (just to test) it returns
> LIBSSH2_SESSION_BLOCK_INBOUND. So this means I should wait for data
> available on this channel?

Yes. And since you can only do that on a socket-basis you should wait for
readable data on the socket and then call the libssh2 function again.

-- 
  / daniel.haxx.se

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