> Is openssl using some kind of memory
> caching for its ssl handshake which is not getting released when the
> handshake is over?

Each established SSL/TLS connection allocates at least 58983 bytes.
All those 3 buffers (18437 B, 18698 B, 21848 B) are allocated when the
new connection is accepted with SSL_accept().
They are released when SSL_free(ssl) is called.
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org