You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2010/01/10 15:59:54 UTC
[jira] Resolved: (HTTPCLIENT-903) Use ConcurrentHashMap instead of
HashMap wherever thread-safe access is needed
[ https://issues.apache.org/jira/browse/HTTPCLIENT-903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb resolved HTTPCLIENT-903.
-----------------------------
Resolution: Fixed
Fixed most classes using [Linked]HashMap.
AuthScheme and CookieSpec instances are not meant to be thread-safe. They are instantiated on a per request / execution thread basis.
> Use ConcurrentHashMap instead of HashMap wherever thread-safe access is needed
> ------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-903
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-903
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient
> Reporter: Sebb
>
> Consider using ConcurrentHashMap instead of HashMap for any Maps that are used by multiple threads.
> For example SchemeRegistry and AuthSchemeRegistry.
--
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org