You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Fabio Scippacercola (JIRA)" <ji...@apache.org> on 2016/03/04 00:07:18 UTC

[jira] [Created] (NET-589) The managing of the KeepAliveReplyTimeout masks the user's setting

Fabio Scippacercola created NET-589:
---------------------------------------

             Summary: The managing of the KeepAliveReplyTimeout masks the user's setting
                 Key: NET-589
                 URL: https://issues.apache.org/jira/browse/NET-589
             Project: Commons Net
          Issue Type: Bug
          Components: FTP
    Affects Versions: 3.3
            Reporter: Fabio Scippacercola
            Priority: Minor


The class FTPClient uses a convenience static and private class for managing the KeepAlive: CSL. However, this class sets in its constructor the maximum waiting time for the KeepAliveReply (FTPClient:3671), overriding any users's setting for the FTPClient.setSoTimeout.
 
If I am not wrong, "setSoTimeout" should be set right before to call the "__noop" operation in FTPClient:3685, saving the original (user-defined) value for the SoTimeout, and resetting it after the invocation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)