Connection statistics not updated
---------------------------------

                 Key: FTPSERVER-259
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-259
             Project: FtpServer
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.0-M4
            Reporter: Jiri Kuhn


Methods

org.apache.ftpserver.impl.ServerFtpStatistics#setOpenConnection(FtpIoSession)
org.apache.ftpserver.impl.ServerFtpStatistics#setCloseConnection(FtpIoSession)

are never called from production code. 

Command SITE_STAT shows only zeros for connection statistics.


Really, really side note: I have looked at DefaultFtpStatistics class. The 
counters are AtomicIntegers. As all counters are modified inside synchronized 
methods, I don't think there is any need  for the counters to be AtomicInteger 
at all. Just int should be enough.

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