Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-16471

SslTransportLayer may leak SSLEngine resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.7.0, 3.6.1
    • 3.8.0, 3.7.1
    • network
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              gnarula Gaurav Narula
              gnarula Gaurav Narula
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: