Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 22438 invoked from network); 7 Dec 2007 19:02:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2007 19:02:11 -0000 Received: (qmail 45935 invoked by uid 500); 7 Dec 2007 19:01:57 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 45756 invoked by uid 500); 7 Dec 2007 19:01:56 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 45739 invoked by uid 99); 7 Dec 2007 19:01:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 11:01:56 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 19:02:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D420B714258 for ; Fri, 7 Dec 2007 11:01:45 -0800 (PST) Message-ID: <26584612.1197054105809.JavaMail.jira@brutus> Date: Fri, 7 Dec 2007 11:01:45 -0800 (PST) From: "Sangjin Lee (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-3686) AsyncHttpClient does not reuse connection even if connections are persistent In-Reply-To: <4938698.1197050143500.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-3686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549518 ] Sangjin Lee commented on GERONIMO-3686: --------------------------------------- Yes, actually in the implementation I've written the session validation occurs inside the session cache, and not by the caller. Agreed on the container types, that's what I've been using: ConcurrentHashMap/ConcurrentLinkedQueue. One cannot live without them. :) > AsyncHttpClient does not reuse connection even if connections are persistent > ---------------------------------------------------------------------------- > > Key: GERONIMO-3686 > URL: https://issues.apache.org/jira/browse/GERONIMO-3686 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: AsyncHttpClient > Affects Versions: 1.x > Reporter: Sangjin Lee > > Each time AsyncHttpClient.sendRequest() is called, a new TCP connection is opened, even though connections may be kept alive per HTTP spec. If connections are kept open, they should be reused for more requests. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.