Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 1.0.0-RC1
    • Component/s: Core
    • Labels:
      None

      Description

      FTP server should not try to reuse the IP address of an already bound server port.
      When this feature is used there is not BindException when FTP server tries to bind an address/port tuple that is already bound by another application.
      See
      http://java.sun.com/j2se/1.4.2/docs/api/java/net/ServerSocket.html#getReuseAddress()
      and
      http://msdn2.microsoft.com/en-us/library/ms740621.aspx
      (read the "SO_REUSEADDR" chapter) for back ground info

        Activity

        Rico Neubauer created issue -
        Hide
        Rico Neubauer added a comment -

        Patch for bug.

        Show
        Rico Neubauer added a comment - Patch for bug.
        Rico Neubauer made changes -
        Field Original Value New Value
        Attachment apache-ftpserver-109-patch.txt [ 12368350 ]
        Hide
        Niklas Gustavsson added a comment -

        This is an old issue, but still relevant. However, I think it's reasonable that we enable local address reuse since a common use case for FtpServer is unit testing where it makes sense to start a gazillion servers quickly after each other.

        Show
        Niklas Gustavsson added a comment - This is an old issue, but still relevant. However, I think it's reasonable that we enable local address reuse since a common use case for FtpServer is unit testing where it makes sense to start a gazillion servers quickly after each other.
        Niklas Gustavsson made changes -
        Assignee Niklas Gustavsson [ niklas ]
        Fix Version/s 1.0.0-RC1 [ 12313542 ]
        Resolution Won't Fix [ 2 ]
        Status Open [ 1 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development