Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
1.7.0
-
None
-
None
Description
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.
Attachments
Issue Links
- duplicates
-
AXIS2-5809 Axis2 does not properly return http connection to connection pool when using http client 4
- Resolved