[JBoss JIRA] Closed: (NETTY-221) AsynchronousCloseException in NIO workers can result in IndexOutOfBoundsException

Trustin Lee (JIRA) jira-events at lists.jboss.org
Thu Sep 3 00:43:36 EDT 2009


     [ https://jira.jboss.org/jira/browse/NETTY-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trustin Lee closed NETTY-221.
-----------------------------

    Resolution: Done


Fixed

> AsynchronousCloseException in NIO workers can result in IndexOutOfBoundsException
> ---------------------------------------------------------------------------------
>
>                 Key: NETTY-221
>                 URL: https://jira.jboss.org/jira/browse/NETTY-221
>             Project: Netty
>          Issue Type: Bug
>          Components: Transport
>            Reporter: Trustin Lee
>            Assignee: Trustin Lee
>            Priority: Minor
>             Fix For: 3.1.3.GA
>
>
> Current NioWorker.writeNow() and NioDatagramWorker.writeNow() simply swallow AsynchronousCloseException.  However, the state variables related with the write buffer must be saved at any case.  If channel.currentWriteIndex and currentWriteEvent are not saved properly on AsynchronousCloseException, IndexOutOfBoundsException will be raised in the next round of the iteration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the netty-dev mailing list