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
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]