mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cloudor Pu (Jira)" <j...@apache.org>
Subject [jira] [Commented] (DIRMINA-1120) ProtocolCodecFilter does not support concurrent access
Date Mon, 13 Jan 2020 02:11:00 GMT

    [ https://issues.apache.org/jira/browse/DIRMINA-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013962#comment-17013962
] 

Cloudor Pu commented on DIRMINA-1120:
-------------------------------------

In addition, the ProtocolEncoderOutput object stored and shared in session is not thread-safe
too when multiple threads are checking and saving their auto created object in the same session.
But this sharing bug is not critical and it mitigated the damage made by the overwritten one.

> ProtocolCodecFilter does not support concurrent access
> ------------------------------------------------------
>
>                 Key: DIRMINA-1120
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1120
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.1, 2.1.2, 2.1.3
>            Reporter: Cloudor Pu
>            Priority: Major
>
> In ProtocolCodecFilter#filterWrite method, the same writeRequest might be written more
than once and previous encoded message would be overwritten by next ones and cause message
lost problems.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org


Mime
View raw message