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 21:54:05 UTC

[jira] [Created] (NET-385) FTP does not apply timeout to initial responses

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

[jira] [Resolved] (NET-385) FTP does not apply timeout to initial responses

Posted by "Sebb (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Updated] (NET-385) FTP does not apply timeout to initial responses

Posted by "Sebb (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NET-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb updated NET-385:
---------------------

    Fix Version/s: 3.0

> 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
>             Fix For: 3.0
>
>
> 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