[openssl-users] regarding memory cleanup at end of each DTLS session
Vineet Kumar Srivastava
svineet at kodiakptt.com
Tue Mar 21 10:30:32 UTC 2017
Hi Guys,
I have a server implementation of DTLS Server using OPENSSL.
At the end of each DTLS Session however I see that memory usage of process keeps on increasing.
However on running Valgrind with the process no significant leak is observed.
So, wanted to know that whether the function calls being done by me on getting DTLS Alerts are proper or not.
Version being used is OpenSSL 1.0.1e-fips 11 Feb 2013
On getting DTLS Alert following function calls are being done.
SSL_set_shutdown(ssl, SSL_SENT_SHUTDOWN|SSL_RECEIVED_SHUTDOWN);
SSL_free (ssl);
ERR_remove_thread_state(0);
Where ssl is the SSL* which was created when server got Client Hello for the handshake.
Please advise if I am required to do anymore cleanup on getting DTLS Alert.
Your advise is highly appreciated.
Thanks,
Vineet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20170321/9d44845d/attachment.html>
More information about the openssl-users
mailing list