You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Gaurav Narula (Jira)" <ji...@apache.org> on 2024/04/04 13:45:00 UTC

[jira] [Created] (KAFKA-16471) SslTransportLayer may leak SSLEngine resources

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)