commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NET-385) FTP does not apply timeout to initial responses
Date Sat, 04 Jun 2011 18:58:47 GMT

     [ 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

Mime
View raw message