I have implemented a simple SSL server using the latest win32 version of the openssl 
library which behaves as I expect, EXCEPT that SSL_read() returns 0 (meaning, I must 
POLL it, which is retarded) as long as my browser (the client I am using) is waiting 
for me to accept the certificate (bogus certificate, not blindly accepted by default). 
 In other words, if I accept the certificate, SSL_read() suddenly returns something 
other than 0 and I can process the session using SSL_read() and SSL_write() as I 
expect.  However, if I reject the certificate, SSL_read() will keep returning 0, which 
means I don't know how to detect when the client has terminated the connection.  How 
can I detect this?!

Also, the documentation refers to the concept of a "BIO" all over the places, but 
never defines it anywhere that I can find.  Is BIO some kind of universally understood 
concept that I have only just heard of?  In any case, where can I go to learn about it?

- RT
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to