First of all I want to thank everyone who has responded to my previous questions. You have been a tremendous help, and thanks to that help I have finished integrating OpenSSL into my web server. Or almost anyways after some testing i have noticed strange behavior: After accepting a few connections and servicing them perfectly fine, all of a sudden SSL_accept returns -1, but no errors prints out. (i have error trapping code, just like in samples that prints out errors, and exits) I suspect that i am doing something that is making the library no longer be threadsafe. My web server is written in Visual C++ 6.0, I am using OpenSSl 0.9.5 Web server listens for connections, every time a new one gets accepted spins up new thread, initialized ssl structure (ctx is initialize once when app starts up), does ssl handshaking and proceeds to handle request. I have not been able to find any obvious flaws in my code, and was wondering if someone has seen this type of error previously, or knows what i am doing wrong to the ssl library. Thank You -Mike Sandler ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]