You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Jiajia Li (JIRA)" <ji...@apache.org> on 2016/02/25 07:35:18 UTC

[jira] [Resolved] (DIRKRB-536) KrbClient leaks sockets

     [ https://issues.apache.org/jira/browse/DIRKRB-536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiajia Li resolved DIRKRB-536.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0-RC2

> KrbClient leaks sockets
> -----------------------
>
>                 Key: DIRKRB-536
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-536
>             Project: Directory Kerberos
>          Issue Type: Bug
>            Reporter: Alexander Haskell
>            Assignee: Alexander Haskell
>             Fix For: 1.0.0-RC2
>
>         Attachments: release_socket.patch, reuse_client.patch
>
>
> KrbClient does not close sockets at the end of a request. This is not a problem for KinitTool as the jvm closes the sockets at program termination. A longer running application has to rely on the garbage collector cleaning up open sockets. The most likely location to do this appears to be at the end of DefaultInternalKrbClient.doRequest\{T,S}gt() by calling release() on DefaultInternalKrbClient.transport.



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