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

Implement A Keepalive Mechanism

    XMLWordPrintableJSON

Details

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

    Description

      For routers/firewalls that terminate idle connections, a separate heartbeat mechanism may need to be implemented to keep the control connection active.

      Some potential issues:

      • Synchronization between a heartbeat write and a __getReply() on an active control connection command;
      • Should use the NOOP command as a heartbeat signal;
      • Make the timeout configurable;
      • Default SocketImpl::setKeepAlive() wont do here.

      Attachments

        1. ftp-keepalive.diff
          3 kB
          Bogdan Drozdowski

        Activity

          People

            Unassigned Unassigned
            rwinston@eircom.net Rory Winston
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: