[
https://issues.apache.org/jira/browse/FTPSERVER-424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Taras Puchko updated FTPSERVER-424:
-----------------------------------
Description:
In several hours after start the server cannot accept passive connections if
allowed passive ports are configured.
This is caused by FTPSERVER-420,
org.apache.ftpserver.impl.PassivePorts.reserveNextPort() lines 218-219,
where the value removed from the freeList might be different from the value
added to the usedList, if checkPortUnbound returns false before.
was:
In several hours after start the server cannot accept passive connections if
allowed passive ports are configured.
This is caused by FTPSERVER-420,
org.apache.ftpserver.impl.PassivePorts.reserveNextPort() lines 218-291,
where the value removed from the freeList might be different from the value
added to the usedList, if checkPortUnbound returns false before.
> Leak of allowed passive ports
> -----------------------------
>
> Key: FTPSERVER-424
> URL: https://issues.apache.org/jira/browse/FTPSERVER-424
> Project: FtpServer
> Issue Type: Bug
> Affects Versions: 1.0.6
> Reporter: Taras Puchko
>
> In several hours after start the server cannot accept passive connections if
> allowed passive ports are configured.
> This is caused by FTPSERVER-420,
> org.apache.ftpserver.impl.PassivePorts.reserveNextPort() lines 218-219,
> where the value removed from the freeList might be different from the value
> added to the usedList, if checkPortUnbound returns false before.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira