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

Yannick Lecaillez updated DIRMINA-774:
--------------------------------------

    Priority: Trivial  (was: Major)

Please ignore this bug report, was a mistake.

For the full story, i had problem with session.write() in a multi-threaded 
environment which caused invalid compressed data.
All worked like a charm as soon as i added an OrderedThreadExecutorFilter in 
the filter chain.

Sorry for the inconvenience.

> CompressionFilter is not thread safe
> ------------------------------------
>
>                 Key: DIRMINA-774
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-774
>             Project: MINA
>          Issue Type: Bug
>          Components: Filter
>    Affects Versions: 2.0.0-RC1
>         Environment: All
>            Reporter: Yannick Lecaillez
>            Priority: Trivial
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Concurrent IoSession.write() can cause various error in CompressionFilter 
> deflate method under load since zStream
> is not synchronized.
> I've a fix which simply "synchronized" access to zStream.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to