Subject: Re: [PATCH] _libssh2_recv(): handle ENOENT error as EAGAIN

Re: [PATCH] _libssh2_recv(): handle ENOENT error as EAGAIN

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 28 Jun 2011 22:44:34 +0200 (CEST)

On Tue, 28 Jun 2011, Alfred Gebert wrote:

> A sftp session failed with error "failure establishing ssh session" on
> Solaris and HP-UX. Sometimes the first recv() function call sets errno to
> ENOENT. In the man pages for recv of Solaris and HP-UX the error ENOENT is
> not documented.
>
> I tested Solaris SPARC and x86, HP-UX i64, AIX, Windows and Linux.

Thanks, applied!

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-06-28