commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <j...@apache.org>
Subject [jira] Updated: (VFS-85) unexpected http connect
Date Mon, 02 Oct 2006 08:34:20 GMT
     [ http://issues.apache.org/jira/browse/VFS-85?page=all ]

Mario Ivankovits updated VFS-85:
--------------------------------

    Priority: Major  (was: Blocker)

Even if its critical for you, the change might be much more critical for others depending
on the current behavior.

Thus I changed the priority to "critical", lets see what other say about it and revert to
"blocker" then.

> unexpected http connect
> -----------------------
>
>                 Key: VFS-85
>                 URL: http://issues.apache.org/jira/browse/VFS-85
>             Project: Commons VFS
>          Issue Type: Improvement
>            Reporter: Philippe Poulard
>
> when I try to create a file object with "http://www.somehost.com/", VFS fails when the
host is unreachable (e.g. when not connected to internet)
> this is because org.apache.commons.vfs.provider.http.HttpFileSystem has a constructor
that has an argument HttpClient, whereas it should be an HttpClientFactory
> the HttpClient should be resolved only when required :
>     protected HttpClient getClient()
>     {
>         if ( this.client == null ) {
>             this.client = clientFactory.createConnection(...);
>         }
>         return client;
>     }
> I didn't check it, but this issue is certainly present with FTP and others...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message