[
https://issues.apache.org/jira/browse/HTTPCLIENT-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski resolved HTTPCLIENT-1136.
-------------------------------------------
Resolution: Fixed
Fix Version/s: 4.2 Alpha1
Fixed in SVN trunk.
Oleg
> BasicClientConnectionManager.releaseConnection accesses poolEntry using
> non-standard lock
> -----------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-1136
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1136
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Reporter: Sebb
> Fix For: 4.2 Alpha1
>
>
> According to the annotation, poolEntry is @GuardedBy("this").
> However, in at least one place, it is accessed without holding a lock on
> this:
> BasicClientConnectionManager.releaseConnection synchronizes on managedConn,
> and then accesses poolEntry without synchronising on this.
> [Synch. only works if all parties use the same lock.]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]