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 13AB917DFE for ; Thu, 30 Oct 2014 13:04:34 +0000 (UTC) Received: (qmail 27216 invoked by uid 500); 30 Oct 2014 13:04:33 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 27171 invoked by uid 500); 30 Oct 2014 13:04:33 -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 27159 invoked by uid 99); 30 Oct 2014 13:04:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2014 13:04:33 +0000 Date: Thu, 30 Oct 2014 13:04:33 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HTTPASYNC-83) request no sent when setConnectionManagerShared is set to true 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/HTTPASYNC-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved HTTPASYNC-83. ---------------------------------------- Resolution: Not a Problem Sylvere, If an HttpAsyncClient instance has been configured to use a shared connection manager, it will make _no_ attempts to either start it up or to shut it down. Connection manager life cycle becomes responsibility of the caller. Just make sure to call PoolingNHttpClientConnectionManager#execute from a worker thread or assign one HttpAsyncClient instance to 'own' the connection manager. Oleg > request no sent when setConnectionManagerShared is set to true > -------------------------------------------------------------- > > Key: HTTPASYNC-83 > URL: https://issues.apache.org/jira/browse/HTTPASYNC-83 > Project: HttpComponents HttpAsyncClient > Issue Type: Bug > Affects Versions: 4.1-beta1 > Reporter: Sylvere Richard > > I'm trying to use the setting setConnectionManagerShared(true) : > final CloseableHttpAsyncClient httpclient = HttpAsyncClients.custom() > .setDefaultCookieStore(cookieStore) > .setConnectionManager(connManag) > .setConnectionManagerShared(true) > .build(); > But when setConnectionShared is true, the request is never sent. > When set to false, everything works perfectly. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org