In my test program (on win32, using OpenSSL 0.9.7 DLLs) I have two threads 
running:

Thread #1 is busy doing a SSL_read()
Thread #2 wants to abort the SSL connection

When I make Thread #2 do "SSL_shutdown", the program crashes. Is there a 
'gentle' way to do this, perhaps by having Thread #2 set a flag in the SSL 
stucture that tells SSL_read, SSL_write to abort whatever they're doing? Then 
Thread #1 can do the actual SSL_shutdown when the time is right?

Any suggestions greatly appreciated.


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

Reply via email to