hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35944] - default CONNECTION_MANAGER_TIMEOUT should not be zero
Date Mon, 01 Aug 2005 14:45:24 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35944>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35944





------- Additional Comments From odi@odi.ch  2005-08-01 16:45 -------
Garry,

The MTCM manages one connection pool per host config. There is a limit of
simultaneous connections to a certain host which by default is something like 2
(as recommended by RFC-2616). So if the MTCM has handed out the 2 connections
the next call to getConnection will block until one of the connections is handed
back to the connection manager. Of course this will never happen if you never
call releaseConnection on the method. So it is vitally important that the
releaseConnection call is in a finally clause. Please check your code for
ommissions of that.

Ortwin Glück

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message