Re: Clarification if Memory Leak during SSL_connect - Resolved..

2007-08-18 Thread Prabhu S
Got it; int SSL_session_reused(SSL *ssl); helps in finding if the session was being reused. Thanks, Prabhu. S On 8/19/07, Prabhu S <[EMAIL PROTECTED]> wrote: > > Hi, > > I tried with minimal client code to check if there is a similar leak. > There wasn't. > In my application code , I had the

Re: Clarification if Memory Leak during SSL_connect - Resolved..

2007-08-18 Thread Prabhu S
Hi, I tried with minimal client code to check if there is a similar leak. There wasn't. In my application code , I had the following: ssl = SSL_new (ctx); SSL_set_session(ssl, sess); SSL_connect (ssl); sess = SSL_get1_session(ssl); SSL_CTX_add_session(ctx,sess); // to determine if the session

Re: Clarification if Memory Leak during SSL_connect

2007-08-16 Thread Darryl Miles
Prabhu S wrote: Is this a memory leak. If I run the client application under stress, I run into issues with available swap size reducing to zero( free -m command) ..I have resolved significant application memory leak. Still I run into problem in stress test. Any suggestions? There is a risk