directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn McKinney (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FC-234) Close the connection in http get
Date Thu, 05 Jul 2018 23:42:00 GMT
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)

Mime
View raw message