You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Shawn McKinney (JIRA)" <ji...@apache.org> on 2018/07/07 00:20:00 UTC

[jira] [Resolved] (FC-234) Close the connection in http get

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

Shawn McKinney resolved FC-234.
-------------------------------
    Resolution: Fixed

> Close the connection in http get
> --------------------------------
>
>                 Key: FC-234
>                 URL: https://issues.apache.org/jira/browse/FC-234
>             Project: FORTRESS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Shawn McKinney
>            Assignee: Shawn McKinney
>            Priority: Major
>             Fix For: 2.0.1
>
>
> add try/catch/finally block to get to close the connection
>         finally
>         {
>             // Release current connection to the connection pool.
>             if ( get != null )
>                 get.releaseConnection();
>         }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)