mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Conaway (JIRA)" <j...@apache.org>
Subject [jira] Created: (FTPSERVER-177) Passive port ranges are not properly released
Date Thu, 11 Sep 2008 19:07:44 GMT
Passive port ranges are not properly released

                 Key: FTPSERVER-177
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-177
             Project: FtpServer
          Issue Type: Bug
    Affects Versions: 1.0
            Reporter: Kevin Conaway
            Priority: Critical
         Attachments: FTPSERVER-177.patch

When using a range of passive ports, the passive ports are not appropriately released.  This
leads to a deadlock after all the ports in the range have been filled up.

I believe that this is because the QUIT command should be calling session.getDataConnection().closeDataConnection();
which in turn calls session.getListener().getDataConnectionConfiguration().releasePassivePort(<portNumber>);

In the attached patch, I've modified the org.apache.ftpserver.clienttests.PasvTest testcase
to use a 1-value range of passive ports which exposes this issue.  I've also added the session.getDataConnection().closeDataConnection()
to the QUIT command

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message