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

Reply via email to