You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2007/07/26 08:45:31 UTC
[jira] Created: (DIRMINA-406) ProtocolDecoder.dispose() is called
for every read.
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.1.1, 1.0.4, 1.1.0, 1.0.3, 1.0.2, 1.0.1, 1.0.0
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.
[jira] Closed: (DIRMINA-406) ProtocolDecoder.dispose() is called
for every read.
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (DIRMINA-406) ProtocolDecoder.dispose() is called
for every read.
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trustin Lee resolved DIRMINA-406.
---------------------------------
Resolution: Fixed
> 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.