commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NET-385) FTP does not apply timeout to initial responses
Date Mon, 21 Mar 2011 20:54:05 GMT
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

Mime
View raw message