DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25372>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25372

auto close idle connections





------- Additional Comments From [EMAIL PROTECTED]  2003-12-21 00:31 -------
Hi Odi,

My apogolies for the delay in this response -- I was touring Italy for a week 
or so.  (I highly recommend everyone spend part of their life in Venice, it is 
truly fantastic.)

Anyways... HttpConnection required a small change to store the time the 
connection released (and thus returned to the pool).  It was not possible to 
make this change in the HttpConnectionAdapter class because the ConnectionPool 
in MultiThreadedConnectionManager did not access the adapter.  An alternative 
method would have been to create another map where the key was the 
HttpConnection and the value was the time it was released and store this in 
ConnectionPool, but I did not feel that adding another datastructure was worth 
it.  It seemed that the released time was something that may have been 
worthwhile to other classes that use HttpConnection too.

Much of the structure of the patch is going to have to change, though, to get 
it to work with the current CVS HEAD.  I have no strong feelings either way 
about storing the release time in the HttpConnection, if it seems that it can 
be best done elsewhere.

Thanks,
 Sam

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

Reply via email to