You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2011/03/21 22:04:05 UTC
[jira] [Resolved] (NET-385) FTP does not apply timeout to initial
responses
[ https://issues.apache.org/jira/browse/NET-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb resolved NET-385.
----------------------
Resolution: Fixed
> FTP does not apply timeout to initial responses
> -----------------------------------------------
>
> Key: NET-385
> URL: https://issues.apache.org/jira/browse/NET-385
> Project: Commons Net
> Issue Type: Improvement
> Reporter: Sebb
>
> As part of _connectAction()_, the FTP classes read from the control channel.
> However, this is done before the connect() returns, and so the caller has no chance to set a timeout.
> Since the reply is effectively part of the connection, it makes sense to use the connectTimeout (if set) to protect the initial getReply() calls.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira