axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Verdes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5845) [axis2-transport-http] HTTPSenderImpl doesn't close HttpGet, HttpPost objects
Date Mon, 24 Apr 2017 18:30:04 GMT

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

Andrei Verdes commented on AXIS2-5845:
--------------------------------------

Yes it is indeed a duplicate, just came across 5809, my bad

> [axis2-transport-http] HTTPSenderImpl doesn't close HttpGet, HttpPost objects
> -----------------------------------------------------------------------------
>
>                 Key: AXIS2-5845
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5845
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.7.0
>            Reporter: Andrei Verdes
>            Priority: Critical
>
> The method releaseConnection() should be called on every HttpGet, HttpPost, HttpDelete,
HttpPut objects in the finally block. Otherwise it will build up and eventually throw Timeout
trying to get connection from pool.
> Egs:
> org.apache.axis2.transport.http.impl.httpclient4.HttpSenderImpl.sendViaPost() should
include a postMethod.releaseConnection() in the finally block.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message