[
https://issues.apache.org/jira/browse/SSHD-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713552#comment-13713552
]
Neil Culver commented on SSHD-232:
----------------------------------
Sure, I've reproduced in 0.8.0.
sessionCreated is called when the user logs in
sessionClosed is called when the user exits normally
sessionClosed is not called when the idle timeout disconnects the user
I've reproduced with 2 different sftp clients.
Thanks
> Idle timeout doesnt notify session listeners
> --------------------------------------------
>
> Key: SSHD-232
> URL: https://issues.apache.org/jira/browse/SSHD-232
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 0.6.0, 0.7.0
> Reporter: Neil Culver
>
> When a session is timed out via the idle timeout AbstractSession.close(false)
> is called, which should close the session and notify any session listeners.
>
> However it seems that the following code in the IoSessionCloser never gets
> executed :
> for (SessionListener sl : l) {
> sl.sessionClosed(s);
> }
> and the following log messages are never output :
> log.debug("Closing IoSession");
> log.debug("IoSession closed");
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira