You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Niklas Gustavsson (JIRA)" <ji...@apache.org> on 2011/03/14 19:12:29 UTC
[jira] Closed: (VYSPER-275) Race condition in stanza handling
[ https://issues.apache.org/jira/browse/VYSPER-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson closed VYSPER-275.
------------------------------------
Resolution: Fixed
Fixed in rev 1081498 by using OrderedThreadPoolExecutor instead of QueuedStanzaProcessor
> Race condition in stanza handling
> ----------------------------------
>
> Key: VYSPER-275
> URL: https://issues.apache.org/jira/browse/VYSPER-275
> Project: VYSPER
> Issue Type: Bug
> Components: core protocol
> Affects Versions: 0.7
> Reporter: Niklas Gustavsson
> Assignee: Niklas Gustavsson
> Fix For: 0.8
>
>
> Stanzas received by Vysper is currently queued for processing in QueueStanzaProcessor. However, this implementation will not maintain order of stanzas within a session. So, if a client (or other server) sends multiple stanzas they might not be handled in order. This is against the spec and can lead to undesired behavior.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira