Subject: Re: [libssh2] Blocking read returns PACKET_EAGAIN if not enough data is available?

Re: [libssh2] Blocking read returns PACKET_EAGAIN if not enough data is available?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 8 May 2007 15:29:37 +0200 (CEST)

On Tue, 8 May 2007, Eberhard Mattes wrote:

> libssh2_packet_read() needing at least blocksize bytes (if encryption is
> active) is also incorrect.

Yes, you're entirely correct of course.

The total read length should be no less than blocksize, but that data could of
course be spread out to up to blocksize number of recv()s...

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-05-08