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/02/26 22:13:06 UTC
[jira] Closed: (FTPSERVER-75) Extraneous connection cleanup timer.
[ https://issues.apache.org/jira/browse/FTPSERVER-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson closed FTPSERVER-75.
--------------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.0-M1)
1.0-M2
Assignee: Niklas Gustavsson
commit -m "No only creates default context in FtpServer if needed, not always.
Stale connection timer now created as a daemon timer. (both FTPSERVER-75)" C:/home/niklas/workspaces/apache/ftpserver/core/src/java/org/apache/ftpserver/FtpServer.java C:/home/niklas/workspaces/apache/ftpserver/core/src/java/org/apache/ftpserver/listener/ConnectionManagerImpl.java
Sending C:/home/niklas/workspaces/apache/ftpserver/core/src/java/org/apache/ftpserver/FtpServer.java
Sending C:/home/niklas/workspaces/apache/ftpserver/core/src/java/org/apache/ftpserver/listener/ConnectionManagerImpl.java
Transmitting file data ...
Committed revision 512035.
Thanks for the report!
> Extraneous connection cleanup timer.
> ------------------------------------
>
> Key: FTPSERVER-75
> URL: https://issues.apache.org/jira/browse/FTPSERVER-75
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0-M1
> Environment: Svn trunk as of r511633.
> Reporter: Mark Reynolds
> Assigned To: Niklas Gustavsson
> Priority: Minor
> Fix For: 1.0-M2
>
>
> FtpServer creates an instance of DefaultFtpServerContext which configures a ConnectionManagerImpl in its constructor, which in turn starts a Timer. If the DefaultFtpServerContext is replaced via the FtpServer's one-argument constructor, the timer in the dereferenced DefaultFtpServerContext is never cancelled and keeps on running once a minute.
> Also, shouldn't this be a daemon timer?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.