Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-494

FTPClient.CSL.cleanUp() fails to restore timeout value on exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3
    • Component/s: FTP
    • Labels:
      None

      Description

      The CSL class temporarily resets the socket timeout.

      The cleanUp() method restores the original setting, however this may be skipped if an exception occurs.

      The code should ensure that the original setting is always restored.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebb@apache.org Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: