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 (JIRA)" <ji...@apache.org> on 2013/11/25 19:08:35 UTC

[jira] [Resolved] (HTTPCLIENT-1437) Fluent Executor.execute is not thread safe

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

Oleg Kalnichevski resolved HTTPCLIENT-1437.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.3.2

Pasi,
I am not sure Executor was ever meant to be thread safe, but it turned out it was quite easy to make it such. 

Fixed in SVN trunk. Please review / re-test.

Oleg

> Fluent Executor.execute is not thread safe
> ------------------------------------------
>
>                 Key: HTTPCLIENT-1437
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1437
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: Fluent HC
>    Affects Versions: 4.3.1
>            Reporter: Pasi Eronen
>             Fix For: 4.3.2
>
>
> Fluent Executor.execute() calls e.g. "this.localContext.setAttribute(HttpClientContext.CREDS_PROVIDER, this.credentialsProvider);"
> But this.localContext is a BasicHttpContext, which is not thread safe...



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org