You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Matthew Phillips (JIRA)" <ji...@apache.org> on 2008/02/19 08:32:43 UTC
[jira] Updated: (DIRMINA-531) IoHandler.sessionClosed not called
[ https://issues.apache.org/jira/browse/DIRMINA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew Phillips updated DIRMINA-531:
-------------------------------------
Attachment: JUTestSessionClose MINA 1.1.java
Test against MINA 1.1.5 (passes)
> IoHandler.sessionClosed not called
> ----------------------------------
>
> Key: DIRMINA-531
> URL: https://issues.apache.org/jira/browse/DIRMINA-531
> Project: MINA
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.0-M1
> Environment: Mac OS X 10.5 (Intel), Java 5
> Reporter: Matthew Phillips
> Attachments: JUTestSessionClose MINA 1.1.java
>
>
> While porting to MINA 2.0 I've had a few tests fail that depend on the IoHandler.sessionClosed callback. It appears that if the acceptor closes a session in its IoHandler, the connector's IoHandler does not get a session close event.
> The attached tests demonstrate this: the one ending in MINA 1.1 works fine under MINA 1.1.5, the one ending in MINA 2.0 (which is a direct port of the 1.1 test to the MINA 2.0 API) does not: the sessionClosed method is not called when the acceptor closes its end.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.