[
https://issues.apache.org/jira/browse/VFS-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273904#comment-13273904
]
Andreas Persson commented on VFS-313:
-------------------------------------
This is the same error as VFS-296. In the patch for VFS-296 I went for your
alternate solution, that is, I used the existing soTimeout value for
setDefaultTimeout before connect. I don't have a preference between the two
solutions.
(VFS-296 is unfortunately not fixed, I don't know why. I asked about it on the
mailing list:
http://mail-archives.apache.org/mod_mbox/commons-dev/201101.mbox/%3c1DCE895F45843C42B615CA046BA82158142CA2584C@walle%3e)
> CLONE -FTP configuration does not include option for setting socket timeout
> ---------------------------------------------------------------------------
>
> Key: VFS-313
> URL: https://issues.apache.org/jira/browse/VFS-313
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: Brad Davis
> Fix For: 2.1
>
> Attachments: patch.txt
>
>
> The FTP Configuration includes an option to set a timeout for the data
> connection, but not for the socket timeout. This is a problem, as idle
> sockets can cause your download to hang forever and never timeout.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira