You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/06/07 09:54:07 UTC

[jira] Closed: (DIRMINA-531) IoHandler.sessionClosed not called

     [ https://issues.apache.org/jira/browse/DIRMINA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRMINA-531.
-------------------------------------


> 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
>            Assignee: Trustin Lee
>             Fix For: 2.0.0-M2
>
>         Attachments: JUTestSessionClose MINA 1.1.java, JUTestSessionClose MINA 2.0.java, JUTestSessionCloseRegression.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.