fvaleri opened a new pull request, #23005:
URL: https://github.com/apache/kafka/pull/23005

   The SslFactory created in createSSLSocketFactory() was never closed, leaking 
the underlying DefaultSslEngineFactory. Wrap in try/finally to close it after 
extracting the SSLSocketFactory. This is safe because 
DefaultSslEngineFactory.close() only nulls its sslContext field without 
invalidating the SSLContext held by the returned SSLSocketFactory.
   
   Add a test exercising createSSLSocketFactory() directly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to