Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

        Hide
        riconeubauer Rico Neubauer added a comment -

        Patch for bug.

        Show
        riconeubauer Rico Neubauer added a comment - Patch for bug.
        Hide
        niklas 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 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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development