Status: Accepted
Owner: brainslog
CC: jean.deruelle,  [email protected],  [email protected]
Labels: Type-Defect Priority-High Component-JAIN-SIP

New issue 14 by brainslog: Memory Leak on TLS Connections when no Certs are installed
http://code.google.com/p/jain-sip/issues/detail?id=14

When no certificates are installed and a TLS connections is received, the handshake fails. After the handshake failing the socket is not cleaned and the created channel is stored in the incomingMessageChannels causing it not to be GC'ed.

All this causes a memory leak, which after some connections produces an OOME.

A proposed fix is attached.

Attachments:
        tls_no_cert_leak.patch  1.8 KB

Reply via email to