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

FTP does not apply timeout to initial responses

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: