Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 84434 invoked from network); 1 Mar 2009 06:54:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2009 06:54:35 -0000 Received: (qmail 74166 invoked by uid 500); 1 Mar 2009 06:54:34 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 74102 invoked by uid 500); 1 Mar 2009 06:54:33 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 74091 invoked by uid 99); 1 Mar 2009 06:54:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2009 22:54:33 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Mar 2009 06:54:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C1BE6234C4A8 for ; Sat, 28 Feb 2009 22:54:12 -0800 (PST) Message-ID: <1070702562.1235890452792.JavaMail.jira@brutus> Date: Sat, 28 Feb 2009 22:54:12 -0800 (PST) From: "Ralph Goers (JIRA)" To: issues@commons.apache.org Subject: [jira] Closed: (VFS-240) HTTP only allows reading from one file at a time In-Reply-To: <421559216.1235259241809.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/VFS-240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ralph Goers closed VFS-240. --------------------------- Resolution: Fixed HttpClientFactory was modified to use MultiThreadedHttpConnectionManager but to a) default the maximum number of per host connections to 5, b) allow the maximum number of per host connections to be specified programmaticially, and c) all the maximum number of per host connections to be specified as a system property. The same is true for the total number of http connections. > HTTP only allows reading from one file at a time > ------------------------------------------------ > > Key: VFS-240 > URL: https://issues.apache.org/jira/browse/VFS-240 > Project: Commons VFS > Issue Type: Bug > Affects Versions: 2.0 > Reporter: Ralph Goers > Assignee: Ralph Goers > Fix For: 2.0 > > > VFS 164 modified HttpClientFactory to use a single connection per thread. The consequence of this is that only a single file can be accessed at a time. Several applications, such as Commons Configuration and XML includes will read a second file while processing the first. In the case of Commons Configuration an IOException is being thrown when the first file is closed because it was already closed by ThreadLocalHttpConnectionManager. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.