I too have noticed a similar leak on a VxWorks client used
to secure LDAP connections. I hopefully will investigate this issue in the
next few weeks. I will provide any pertinent details to the group
if/when I have any.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Samy Thiyagarajan
Sent: Wednesday, February 15, 2006 11:01 AM
To: openssl-users@openssl.org
Subject: Memory grows
Hi all,
I have a TLS enabled client and server. Both are working fine as far as the communication is concerned. For testing I loop my client ,such that it establish a connection,send and receive some sample data and release the connection.
I just noticed that the memory at the client side keeps increasing for every looping ! (appx. 6kb per connection ). Server side is fine. I guess there might be some logical error in my function calls. The following is the general structure of my func calls.
initialize the context
for ( loop )
{
establish TCP connection
SSL connection
data exchange
SSL_shutdown(ssl);
BIO_free
SSL_free
close(socket);
}
SSL_CTX_free(context);
I also tried to move in the context initialization within the loop and free the context for every connection. This doesnt help either. I know im missing something. but i cudnt open my third eye :(
I know similar issue was discussed very recently. Those hints didnt helped me much.
THANKS IN ADVANCE.
Samy