[prev in list] [next in list] [prev in thread] [next in thread]
List: sandesha-dev
Subject: [jira] [Issue Comment Deleted] (AXIS2-5845) [axis2-transport-http] HTTPSenderImpl doesn't close Http
From: "Andrei Verdes (JIRA)" <jira () apache ! org>
Date: 2017-04-24 16:05:04
Message-ID: JIRA.13064666.1492512337000.34086.1493049904390 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/AXIS2-5845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Andrei Verdes updated AXIS2-5845:
---------------------------------
Comment: was deleted
(was: You are right, I just found a case where the socket is closed too soon if I do \
that. What do you mean by "response has been processed" how can I make sure that is \
the case when I only check the status.)
> [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.4
> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic