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=25372>. 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=25372 auto close idle connections ------- Additional Comments From [EMAIL PROTECTED] 2004-04-25 23:24 ------- Mike, I know I have been torturing you for days with this patch, but I just realized there's a small issue with the use of HashMap to store connections in the IdleConnectionHandler. What if an attempt is made to add another connection within the same millisecond? This scenario is highly unlikely but not impossible. I see two ways to fix the problem: (1) check if there's an entry for the given time, if yes, 'pad' the current time value by one until a unique value is found; (2) use a List to store objects containing the connection with its respective add time Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]