hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1437) Fluent Executor.execute is not thread safe
Date Mon, 25 Nov 2013 18:08:35 GMT

     [ 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


Mime
View raw message