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

Archive Index This month's Index

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: Eberhard Mattes <em-libssh2_at_online.ms>
Date: Tue, 08 May 2007 15:46:18 +0200

Daniel Stenberg wrote:

> 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...

I'm currently testing a patch which seems to solve this problem (and bug
1714796, at least for blocking mode--it might break non-blocking mode). Shall I
post it here (I don't have CVS write access)?

Eberhard

-------------------------------------------------------------------------
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

the libssh2 team