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

Trustin Lee closed DIRMINA-402.
-------------------------------

    Resolution: Fixed

I resolved the problem by splitting the event queue into two queues; one for 
messageReceived events and the other for filterWrite events.   Explicit 
synchronization has been applied to filterWrite events to fix this issue.

> Simultaneous writes causes 'bad record MAC' error when SSLFilter is used.
> -------------------------------------------------------------------------
>
>                 Key: DIRMINA-402
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-402
>             Project: MINA
>          Issue Type: Bug
>          Components: Filter
>    Affects Versions: 1.0.3, 1.1.0
>            Reporter: Trustin Lee
>            Assignee: Trustin Lee
>            Priority: Critical
>             Fix For: 1.0.4, 1.1.1
>
>
> 'bad record MAC' error means that the order of writes is mixed up and the 
> client (remote peer) cannot validate the integrity of the received messages.  
> This error is caused when a user writes messages from multiple threads 
> simultaneously.

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

Reply via email to