[ 
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.

Reply via email to