hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1136) BasicClientConnectionManager.releaseConnection accesses poolEntry using non-standard lock
Date Tue, 11 Oct 2011 17:55:11 GMT

     [ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message