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

Memory leak in MultiThreadedHttpClient caused by bad .equals()





------- Additional Comments From [EMAIL PROTECTED]  2004-01-21 21:26 -------
Hi Roland,

> since socket factories can be provided from outside the HTTP Client itself,
> I'd rather not require them to be singletons. You couldn't enforce it anyway.
> #2 seems the best approach to me.

I agree that requiring them to be singletons is not the ultimate solution, since there 
is no way to 
enforce that.  Unfortuantely, there is also no way to enforce that equals() works 
correctly as well.  
My plan, yet to be implemented, is to do 2&3 for all of the various HttpClient 
classes, and to add 
javadocs suggesting that all implementors do the same.  How does that sound?

Mike

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

Reply via email to