commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Duffey (JIRA)" <j...@apache.org>
Subject [jira] Commented: (VFS-127) Need ability to set default timeout on FTP provider
Date Wed, 18 Apr 2007 17:38:15 GMT

    [ https://issues.apache.org/jira/browse/VFS-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489830
] 

Tom Duffey commented on VFS-127:
--------------------------------

Actually, this won't be very useful into Commons Net 2.0 thanks to 1.4.x not really supporting
connection timeouts.

> Need ability to set default timeout on FTP provider
> ---------------------------------------------------
>
>                 Key: VFS-127
>                 URL: https://issues.apache.org/jira/browse/VFS-127
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Tom Duffey
>
> VFS currently allows setting the "data timeout" for FTP connections but does not provide
any way to set the "default timeout" for establishing new connections.  This would be extremely
useful because otherwise the connection will hang forever.  The fix is trivial, I'll supply
a patch later but in general you just add another option to the FtpFileSystemConfigBuilder
and then when set you call:
> client.setDefaultTimeout(value)
> in FtpClientFactory.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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