[JBoss JIRA] Resolved: (NETTY-377) messageReceived could happen before channelConnected when using local channels

Trustin Lee (JIRA) jira-events at lists.jboss.org
Wed Jan 12 04:06:49 EST 2011


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

Trustin Lee resolved NETTY-377.
-------------------------------

    Fix Version/s: 3.2.4.Final
       Resolution: Done


The fix has been pushed to the repository.  Instead of introducing an additional state variable, I replaced DefaultLocalChannel.bound with an AtomicInteger state variable.  Your test seems to pass anyway.  Thanks for reporting!

> messageReceived could happen before channelConnected when using local channels
> ------------------------------------------------------------------------------
>
>                 Key: NETTY-377
>                 URL: https://issues.jboss.org/browse/NETTY-377
>             Project: Netty
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 3.2.3.Final, 4.0.0.Alpha1
>         Environment: Ubuntu 10.04 x86
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode)
>            Reporter: Flat Zoli
>            Assignee: Trustin Lee
>             Fix For: 3.2.4.Final
>
>         Attachments: diff, Test1.java
>
>
> When using local transport, and the client makes a write in the channelConnected event, the messageReceived event will occur before the channelConnected on the server side.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the netty-dev mailing list