[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15352494#comment-15352494
 ] 

Enrico Olivelli commented on BOOKKEEPER-871:
--------------------------------------------

I cannot find any SslServerContextFactory class in BookKeeper 4.4.0, can we 
close this issue (or delete it at all?)

> Potential resource leak with unclosed stream in SslServerContextFactory
> -----------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-871
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-871
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ted Yu
>
> In SslServerContextFactory ctor:
> {code}
>             KeyStore ks = KeyStore.getInstance("pkcs12");
>             ks.load(cfg.getCertStream(), cfg.getPassword().toCharArray());
> {code}
> The stream returned by cfg.getCertStream() is not closed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to