commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] Closed: (VFS-240) HTTP only allows reading from one file at a time
Date Sun, 01 Mar 2009 06:54:12 GMT

     [ 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.


Mime
View raw message