[
https://issues.apache.org/jira/browse/FTPSERVER-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661756#action_12661756
]
Niklas Gustavsson commented on FTPSERVER-258:
---------------------------------------------
Wouldn't a value of 0 for the user be the same as accepting whatever is set for
the listener? I wouldn't want to make this to complicated. Would you be okay
with the current code in trunk? If so, I'll document it and maybe we can get
that RC1 out :-)
> 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.