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=29383>.
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=29383

MultiThreadedConnectionManager Accounting Problems





------- Additional Comments From [EMAIL PROTECTED]  2004-06-04 01:57 -------
Sorry for all the spam on this one.  I accidentally created the bug before I finished 
filling out the form.

The attached patch adds deleteClosedConnections() which in combination with 
closeIdleConnections() 
should do what we're looking for.  I'm not entirely satisfied with this solution as it 
involves calling 
HttpConnection.isOpen(), but I think it's the only way to be sure that we get rid of 
connections that are 
not longer needed.  The only other possibility would be to disable 
staleConnectionChecking on the 
connections or to add a isClosed() method to HttpConnection that does not involve 
isStale().

This patch does not include any connection statistics.

Please let me know what you think.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to