Subject: Re: [libssh2] bug in transport.c (and a one-line fix)

Re: [libssh2] bug in transport.c (and a one-line fix)

From: James Housley <jim_at_thehousleys.net>
Date: Wed, 6 Jun 2007 06:05:32 -0400

On Jun 6, 2007, at 3:54 AM, Eberhard Mattes wrote:

> Troy Gutjahr wrote:
>
>> In the latest version (1.7) of transport.c, there is a bug at line
>> 315.
>> It should be changed from
>>
>> if(errno == EAGAIN) {
>>
>> to
>>
>> if(nread == -1 && errno == EAGAIN) {
>
> See bug 1703467 and my patch 1703468.
>
>> Would someone care to add this change in CVS? I don't have access.
>
> AOL. Daniel?

I will look into it this since I am in the middle of re-writing the
code to fully support non-blocking.

Jim

--
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
  X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
Progress (n) : What led from smart users in front of dumb terminals to
dumb users in front of smart terminals.
-------------------------------------------------------------------------
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-06-06