I am using an IMAP library, which supports only blocking SSL IO.
I am planning to convert my that to do non-blocking SSL IO.

Which is the best place to set the flag to non-blocking?
These are my concerns:
1. What areas of the program will have to be converted because of
this? re SSL_read and SSL_write the only functions which will get
affected?
2. Which is the most suitable place to set the underlying IO to
non-blocking? Is it after the connection is setup and certificates are
validated, or before those parts? If we set the non-blocking before
certificate validation and negotiation, will that make any difference
in those part?
4. How non-blocking may affect the renegotiation?

-- 
Sabyasachi
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to