mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRMINA-406) ProtocolDecoder.dispose() is called for every read.
Date Tue, 26 May 2009 01:01:46 GMT

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

Emmanuel Lecharny closed DIRMINA-406.
-------------------------------------


> ProtocolDecoder.dispose() is called for every read.
> ---------------------------------------------------
>
>                 Key: DIRMINA-406
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-406
>             Project: MINA
>          Issue Type: Bug
>          Components: Filter
>    Affects Versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.0.4, 1.1.1
>            Reporter: Trustin Lee
>            Assignee: Trustin Lee
>             Fix For: 1.0.5, 1.1.2
>
>
> Since MINA 1.0, even connectionless sessions have a virtual connection managed by IoSessionRecycler.
> ProtocolCodecFilter contains the following code though:
>         } finally {
>             // Dispose the encoder if this session is connectionless.
>             if (session.getTransportType().isConnectionless()) {
>                 disposeEncoder(session);
>             }
>         }
> Which causes invocation of ProtocolDecoder.dispose() too often (i.e. for every messageReceived
event)

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


Mime
View raw message