Hi! I've got a client/server app now using openssl 0.9.8g and it grows a lot over time vs its non-ssl version.
I'm sure the memory is leaking due to my own mis-understanding of how to properly use openssl. My pthreaded server program opens a socket and listens for connections. create/initialize a single SSL context SSL_CTX_set_session_cache_mode(off) When I get a connection request, I create and detach a thread for handling that connection request. The server thread then: tcp accept the connection detach new thread to handle connection The thread does: SSL_new BIO_new_socket SSL_set_bio SSL_accept process data SSL_shutdown close the socket SSL_free ERR_remove_state(0) pthread_exit Is there something that I am missing to cause a goodly memory leak? Thanks, Bobby ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]