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

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

From: Daniel Stenberg <>
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!

Received on 2011-06-28