Alf Høgemark created HTTPCLIENT-1235:
----------------------------------------
Summary: Add javadoc to Executor to explain that response must be
handled to avoid connection leakage
Key: HTTPCLIENT-1235
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1235
Project: HttpComponents HttpClient
Issue Type: Improvement
Components: Fluent HC
Reporter: Alf Høgemark
Priority: Minor
Attachments: 1235.txt
Some javadoc should be added to the Fluent HC, so that developers are made
aware that they need to handle a reponse from an Executor.
I had a case where I did a logout call, and I did not care to handle the
response, because I was not interested if the logout succeeded or not. This
then leads to one http connection never being returned to the pool per logout
call I made. So I had to change my code so I called discardContent on the
Executor.
So some javadoc should be added to the Executor and Response classes in
client.fluent package
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]