Gaurav Narula created KAFKA-16471:
-------------------------------------

             Summary: SslTransportLayer may leak SSLEngine resources
                 Key: KAFKA-16471
                 URL: https://issues.apache.org/jira/browse/KAFKA-16471
             Project: Kafka
          Issue Type: Bug
          Components: network
    Affects Versions: 3.6.1, 3.7.0
            Reporter: Gaurav Narula


{{SslTransportLayer}} does not invoke {{SSLEngine::closeInbound}} in 
{{close()}} after flushing the {{close_notify}} TLS alert.

While this isn't a problem for the default JDK SSLEngine, it results in 
resource leak in Netty/OpenSSL based SSLEngine which frees native resources 
only when {{closeInbound}} is invoked.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to