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

Archive Index This month's Index

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

Re: [libssh2] EAGAIN but waiting for what?

From: Daniel Stenberg <daniel_at_haxx.se>
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...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------------
Sponsored by: SourceForge.net 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 http://www.sourceforge.net/community/cca08
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2008-07-03

the libssh2 team