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/03/17 11:24:50 UTC

[jira] Resolved: (DIRMINA-675) Duplicate data from decoder

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

Emmanuel Lecharny resolved DIRMINA-675.
---------------------------------------

    Resolution: Fixed

Thanks to Steve's insight, I was able to fix the issue by using a ConcurentLinkedQueue in the AbstractProtocolEncoderOutput class. No more duplicates !

This may have an impact on performance, and we may want to check for a better solution later, but atm, it works.

Fixed in http://svn.apache.org/viewvc?rev=755181&view=rev

> Duplicate data from decoder
> ---------------------------
>
>                 Key: DIRMINA-675
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-675
>             Project: MINA
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M4, 2.0.0-RC1
>         Environment: Ubuntu Linux 8.10 x86, Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
>            Reporter: Gris
>            Priority: Blocker
>             Fix For: 2.0.0-RC1
>
>         Attachments: MinaIssue.tar, test.tar
>
>
> I got duplicate messages in messageReceived(...) in my io handler adapter, but there are no such problem while decoding message (each message decoded only once). Rolling back to M3 seems solved problem.
> Note. SslFilter is used.

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