Subject: Re: [libssh2] EAGAIN but waiting for what?

Re: [libssh2] EAGAIN but waiting for what?

From: Daniel Stenberg <>
Date: Thu, 3 Jul 2008 17:59:37 +0200 (CEST)

On Thu, 3 Jul 2008, J.T. Conklin wrote:

> FWIW, Just yesterday I learned that OpenSSL operations return either
> SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE with a non-blocking BIO. This
> seems better to me than having the library return an error code indicating
> that the operation must be retried and requiring a second call to find out
> whether an underlying read or write (would have) blocked.

Yes, I agree. But going that route would mean a much larger impact on the API
and break the ABI which my suggestion doesn't...

Sponsored by: Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at
libssh2-devel mailing list
Received on 2008-07-03