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/05 23:42:00 UTC

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

Shawn McKinney created FC-234:
---------------------------------

             Summary: 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
             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)