You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/11 19:37:11 UTC

[jira] [Resolved] (HTTPCORE-279) .PoolEntry.state is not thread-safe

     [ https://issues.apache.org/jira/browse/HTTPCORE-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCORE-279.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.2-alpha3

Made state instance variable volatile.

Oleg
                
> .PoolEntry.state is not thread-safe
> -----------------------------------
>
>                 Key: HTTPCORE-279
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-279
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore
>            Reporter: Sebb
>            Priority: Minor
>             Fix For: 4.2-alpha3
>
>
> The field .PoolEntry.state is not thread-safe. 
> Its parent class is documented as being thread-safe, but access to state is not synchronised, and the field is not volatile.

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