[ https://issues.apache.org/jira/browse/DIRMINA-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012726#comment-17012726 ]
Christoph John commented on DIRMINA-1120: ----------------------------------------- Quote from http://mina.apache.org/mina-project/gen-docs/2.1.3/apidocs/org/apache/mina/core/session/IoSession.html {quote} Thread Safety IoSession is thread-safe. But please note that performing more than one write(Object) calls at the same time will cause the IoFilter.filterWrite(IoFilter.NextFilter,IoSession,WriteRequest) to be executed simultaneously, and therefore you have to make sure the IoFilter implementations you're using are thread-safe, too. {quote} > 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-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org