[
https://issues.apache.org/jira/browse/FTPSERVER-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662250#action_12662250
]
Jiri Kuhn commented on FTPSERVER-258:
-------------------------------------
You are right, the difference is really small and your code is less complicated
then mine. The issue can be closed.
> User's maxIdleTime doesn't work
> -------------------------------
>
> Key: FTPSERVER-258
> URL: https://issues.apache.org/jira/browse/FTPSERVER-258
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.0-M4
> Reporter: Jiri Kuhn
> Attachments: FtpIoSession.patch, idletime.patch
>
>
> Setting user's maxidletime property has no effect, only working idle time is
> the one provided by NioListener which is global.
> The user's maxidletime is stored into ftp session as an attribute during PASS
> command, but nothing else happens. Idle event is completely handled by Mina
> and Mina has no knowledge about ftpserver's value. Mina takes the idle time
> from IoSessionConfig which is instantiated during NioListener construction
> (more precisely - during NioListener's SocketAcceptor construction). Each
> created session has its own copy of the config. That's my understanding and I
> hope it's right.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.