You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-dev@incubator.apache.org by "Mark Reynolds (JIRA)" <ji...@apache.org> on 2007/02/27 01:02:06 UTC
[jira] Created: (FTPSERVER-76) Connection count is never
decremented for Mina connections.
Connection count is never decremented for Mina connections.
-----------------------------------------------------------
Key: FTPSERVER-76
URL: https://issues.apache.org/jira/browse/FTPSERVER-76
Project: FtpServer
Issue Type: Bug
Components: Core
Affects Versions: 1.0-M1
Environment: Svn trunk r511633.
Reporter: Mark Reynolds
Fix For: 1.0-M1
For Mina connections, FtpStatisticsImpl.setLogin() is called, incrementing the connection count, however,
FtpStatisticsImpl.setLogout() is never called to decrement the count.
The application quickly runs out of connections!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FTPSERVER-76) Connection count is never
decremented for Mina connections.
Posted by "Mark Reynolds (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477883 ]
Mark Reynolds commented on FTPSERVER-76:
----------------------------------------
Yes, it fixes it. Thanks!
> Connection count is never decremented for Mina connections.
> -----------------------------------------------------------
>
> Key: FTPSERVER-76
> URL: https://issues.apache.org/jira/browse/FTPSERVER-76
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0-M1
> Environment: Svn trunk r511633.
> Reporter: Mark Reynolds
> Assigned To: Niklas Gustavsson
> Fix For: 1.0-M2
>
>
> For Mina connections, FtpStatisticsImpl.setLogin() is called, incrementing the connection count, however,
> FtpStatisticsImpl.setLogout() is never called to decrement the count.
> The application quickly runs out of connections!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (FTPSERVER-76) Connection count is never decremented
for Mina connections.
Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson closed FTPSERVER-76.
--------------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.0-M1)
1.0-M2
Assignee: Niklas Gustavsson
commit -m "Fixing bug where setLogout on statisics was not called during a client disconnect if using the MinaListener (FTPSERVER-76)" C:/home/niklas/workspaces/apache/ftpserver/core/src/java/org/apache/ftpserver/listener/FtpProtocolHandler.java C:/home/niklas/workspaces/apache/ftpserver/core/src/java/org/apache/ftpserver/listener/mina/MinaFtpProtocolHandler.java
Sending C:/home/niklas/workspaces/apache/ftpserver/core/src/java/org/apache/ftpserver/listener/FtpProtocolHandler.java
Sending C:/home/niklas/workspaces/apache/ftpserver/core/src/java/org/apache/ftpserver/listener/mina/MinaFtpProtocolHandler.java
Transmitting file data ...
Committed revision 512310.
Could you please confirm that this fixes your problem?
> Connection count is never decremented for Mina connections.
> -----------------------------------------------------------
>
> Key: FTPSERVER-76
> URL: https://issues.apache.org/jira/browse/FTPSERVER-76
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0-M1
> Environment: Svn trunk r511633.
> Reporter: Mark Reynolds
> Assigned To: Niklas Gustavsson
> Fix For: 1.0-M2
>
>
> For Mina connections, FtpStatisticsImpl.setLogin() is called, incrementing the connection count, however,
> FtpStatisticsImpl.setLogout() is never called to decrement the count.
> The application quickly runs out of connections!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.