https://issues.apache.org/bugzilla/show_bug.cgi?id=50642

--- Comment #1 from Christopher Schultz <ch...@christopherschultz.net> 
2011-01-24 14:46:24 EST ---
Could this be something that is done speculatively?

I'm not sure HttpClient can be rigged to definitely launch it's thread during
Tomcat startup, which is where the JreMemoryLeakPreventionListener does most of
it's work. There is no URL to which we can guarantee a connection to succeed,
unless we fire-up an HTTP connector just for this purpose. That could fail for
ay number of reasons and just seems like confusion waiting to happen.

The patch as it stands is somewhat fragile (no error checking, blindly using a
Sun-specific class, etc.) but very understandable and could be implemented
easily using something similar to the ThreadLocalLeakPreventionListener.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to