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 2010/11/29 19:57:11 UTC

[jira] Resolved: (DIRMINA-724) getScheduledWriteMessages not zero after all sessions closed

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

Emmanuel Lecharny resolved DIRMINA-724.
---------------------------------------

    Resolution: Won't Fix

This is the expected behavior. The number of message waiting to be written is stored within each session, and as the session does not know that the client has closed until the IoProcessor receive the closing notification, the value may be different from 0.

Once the SessionClosed event has been processed, those information will be discarded.

> getScheduledWriteMessages not zero after all sessions closed
> ------------------------------------------------------------
>
>                 Key: DIRMINA-724
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-724
>             Project: MINA
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M6
>         Environment: Linux 2.6.9-34
>            Reporter: Oscar Huang
>            Priority: Minor
>
> 1.start the server (MINA application)
> 2.50 clients connect to the server and send 10 requests per second constantly. server broadcast all the received message to the clients
> 3.close all the clients
> 4. expected: getScheduledWriteMessages returns zero.
>     actual: getScheduledWriteMessages  retuns the value greater than zero.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.