Re: Memory leak with multiple threads running with a single SSL server serving incoming requests...

2006-05-26 Thread Marek Marcola
Hello, > when it ends: > /*cleanup the BIO chain*/ >BIO_flush(_io); >_io->references = 0; >BIO_free(_io); >_io = NULL; >_my_struct->bio->references = 0; >BIO_free_all(_my_struct->bio); >_my_struct->bio = NULL; >_my_struct->ssl

Memory leak with multiple threads running with a single SSL server serving incoming requests...

2006-05-26 Thread Lei Cao
Hi all, I am currently working on a HTTPS-like server.The application is multithreaded using OpenSSL 0.9.7i. There is the server who accept incoming SSL connections and then spawn request-handler-thread to deal with each individual requests based on BIO on top of SSL. Each handler thread will e