You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Roland Weber (JIRA)" <ji...@apache.org> on 2007/07/27 17:53:18 UTC
[jira] Closed: (HTTPCLIENT-636) Revise internal data structures of
ThreadSafeClientConnManager
[ https://issues.apache.org/jira/browse/HTTPCLIENT-636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roland Weber closed HTTPCLIENT-636.
-----------------------------------
Resolution: Fixed
Done. The connection pool, now a separate class, no longer keeps a hard reference to the connection manager.
The pool keeps a weak reference to the manager to detect GC. In that case, the pool shuts itself down.
> Revise internal data structures of ThreadSafeClientConnManager
> --------------------------------------------------------------
>
> Key: HTTPCLIENT-636
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-636
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpConn
> Reporter: Roland Weber
> Assignee: Roland Weber
> Fix For: 4.0 Alpha 2
>
>
> ThreadSafeClientConnManager internal data structures can be improved:
> - keep track of issued connections with weak references
> - use class derived from WeakReference instead of a lookup table for callbacks from ReferenceThread
> (or drop ReferenceThread in favor of occasionally polling the issued connections for leaks)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org