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 - 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

Clarification if Memory Leak during SSL_connect

2007-08-16 Thread Prabhu S
Hi, I obtain the following error leak summary with Valgrind for a single SSL connect with the server ==20626== 3,689 (200 direct, 3,489 indirect) bytes in 1 blocks are definitely lost in loss record 134 of 147 ==20626==at 0x40046C1: malloc (vg_replace_malloc.c:149) ==20626==by 0x4565E6A:

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