mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Fondermann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VYSPER-342) Access to UTF-8 encoding and decoding is not thread safe
Date Mon, 17 Jun 2013 12:11:20 GMT

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

Bernd Fondermann commented on VYSPER-342:
-----------------------------------------

is it? ok, what about my Commit: 013be8be8bc384678afc524c053c8584c24827a4 ?
it uses synchronization, but avoids locking AFAP, and is a little less code.
                
> Access to UTF-8 encoding and decoding is not thread safe
> --------------------------------------------------------
>
>                 Key: VYSPER-342
>                 URL: https://issues.apache.org/jira/browse/VYSPER-342
>             Project: VYSPER
>          Issue Type: Bug
>          Components: core protocol
>    Affects Versions: 0.8
>            Reporter: Mikko Multanen
>         Attachments: fix_charset_util.patch
>
>
> Bug was found when testing server with several simultaneous clients connecting at the
same time. CharsetDecoder would throw IllegalStateException and Stanza XML parsing would fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message