ConnectionManager timeout not used
----------------------------------
Key: HTTPCLIENT-682
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-682
Project: HttpComponents HttpClient
Issue Type: Bug
Components: HttpClient
Affects Versions: 3.0.1
Reporter: Wolfgang Winter
In HttpClientParams a connectionManagerTimeout can be set but is never used.
The HttpClient uses per default the SimpleHttpConnectionManager, this class
implements method getConnectionWithTimeout(
HostConfiguration hostConfiguration, long timeout). However, the
parameter timeout is not used in the method, despite it's name. The timeout
parameter is set with HttpClientParams.connectionManagerTimeout, therefore it
is of no use in the standard framework.
you can fix this by
--> correcting the method SimpleHttpConnectionManager.getConnectionWithTimeout()
--> extending the Javadoc of
SimpleHttpConnectionManager.getConnectionWithTimeout() and
HttpClientParams.setConnectionManagerTimeout() saying, that the timeout
parameter is not used in the standard default implementation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]