You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Kevin Conaway (JIRA)" <ji...@apache.org> on 2008/09/11 21:07:44 UTC
[jira] Updated: (FTPSERVER-177) Passive port ranges are not
properly released
[ https://issues.apache.org/jira/browse/FTPSERVER-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Conaway updated FTPSERVER-177:
------------------------------------
Attachment: FTPSERVER-177.patch
Attaching patch and test case
> 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.