On Wed, Apr 16, 2008, Tomas Neme wrote:

> does one of the flags in the BIO object say anything about the
> blocking nature of the BIO? For example, does SSL_connect return
> automatically or not depending on the BIO flags, or on the BIO_write
> and read return values?
> 

If a BIO is blocking it should not return until some data has been processed
or an error occurs.

If it is non-blocking if data can't be processed immediately
(usually an attempt to read and no data is available) the BIO returns -1 and
the retry flag is set for the appropriate operation. See the macros
BIO_set_retry_*() in bio.h

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to