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 "Niklas Gustavsson (JIRA)" <ji...@apache.org> on 2007/05/23 11:38:16 UTC
[jira] Closed: (FTPSERVER-87) Statistics are incorrectly tracked
for user/ipaddress
[ https://issues.apache.org/jira/browse/FTPSERVER-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson closed FTPSERVER-87.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.0-M2
Assignee: Niklas Gustavsson
Fixed, thanks for the excellent report!
commit -m "Fixed bug where the logout stats would not be counted correctly. Reported by Steve Jones. (FTPSERVER-87)" C:/home/niklas/workspaces/apache/ftpserver/core/src/java/org/apache/ftpserver/FtpStatisticsImpl.java
Sending C:/home/niklas/workspaces/apache/ftpserver/core/src/java/org/apache/ftpserver/FtpStatisticsImpl.java
Transmitting file data ...
Committed revision 540930.
> Statistics are incorrectly tracked for user/ipaddress
> -----------------------------------------------------
>
> Key: FTPSERVER-87
> URL: https://issues.apache.org/jira/browse/FTPSERVER-87
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Reporter: Steve Jones
> Assigned To: Niklas Gustavsson
> Fix For: 1.0-M2
>
>
> The ftp statistics for user@ipaddress are not correctly tracked.
> In the file:
> core/src/java/org/apache/ftpserver/FtpStatisticsImpl.java
> The method "setLogout" does not decrement the "loginNumberPerIP" (looks like a typo with the bracket in the wrong place, so the "else" is for the wrong "if").
> This bug leads to users being refused access after a number of sessions if any limits are configured.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.