FtpServer
  1. FtpServer
  2. FTPSERVER-293

Passive data connections can hang forever and thus block a port

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.1, 1.1.0
    • Component/s: Core
    • Labels:
      None

      Description

      A socket used for a passive data connection can hang (for example due to a network error or client misbehavior) causing org.apache.ftpserver.impl.IODataConnection.transfer() never to return. This will therefore block that port forever, and in the long run hang the entire server.

        Activity

        Niklas Gustavsson created issue -
        Hide
        Niklas Gustavsson added a comment -

        Fixed in rev 768399 and 768400.

        Show
        Niklas Gustavsson added a comment - Fixed in rev 768399 and 768400.
        Niklas Gustavsson made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Hide
        latino added a comment -

        what is the solution?

        Show
        latino added a comment - what is the solution?

          People

          • Assignee:
            Niklas Gustavsson
            Reporter:
            Niklas Gustavsson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development