Topic: Sniffer Application memory leak/memory pool?
Hey all,
I noticed my sniffer application demonstrated the following behavior:
I commented out the "ProcessMessage" function, so essentially all i do is add sessions and remove them.
if I comment out (replace by NULL) the calls to SSL_new for session->sslClient/sslServer in the CreateSession method, I see the memory is dead on. however, if I enable the SSL_new in CreateSession, I notice the memory very slowly rising, and does not appear to be going down to the base level when I stop pushing traffic.
1. is it possible that there is a memory leak in SSL_free / SSL_new?
2. if not, are you using memory pooling with the SSL* objects? clearly I can look in the code, but I want to be sure - I ask because that could account for what I am seeing
thanks in advance,
Dan