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] Commented: (VFS-249) HTTP get hangs indefinitly if remote connection fails to repond - Neet to be able to set a timeout.
Date Wed, 25 Mar 2009 06:12:50 GMT

    [ https://issues.apache.org/jira/browse/VFS-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689012#action_12689012
] 

Ralph Goers commented on VFS-249:
---------------------------------

With V2.0 you can already do this. If you add a key of "http.socket.timeout" to the FileSystemOptions
it will be passed to HttpClientFactory.createConnection(). However, HttpFileSystemConfigBuilder
should be updated to add a setTimeout method.

> HTTP get hangs indefinitly if remote connection fails to repond - Neet to be able to
set a timeout.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: VFS-249
>                 URL: https://issues.apache.org/jira/browse/VFS-249
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: Java 1.6 under Linux
>            Reporter: Trevor Campbell
>
> I have a web service that need to retrieve files from remote site via HTTP or other protocol.
 HTTP hangs the thread indefinitely if the remote host does not respond.  

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