Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C0ED610D7E for ; Mon, 25 Nov 2013 18:08:40 +0000 (UTC) Received: (qmail 21999 invoked by uid 500); 25 Nov 2013 18:08:36 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 21979 invoked by uid 500); 25 Nov 2013 18:08:35 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 21709 invoked by uid 99); 25 Nov 2013 18:08:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Nov 2013 18:08:35 +0000 Date: Mon, 25 Nov 2013 18:08:35 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HTTPCLIENT-1437) Fluent Executor.execute is not thread safe MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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