regarding memory cleanup at end of each DTLS session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

  

-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux