You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2015/06/30 23:18:05 UTC
[jira] [Resolved] (AMQ-5870) Lazy create if MQTTProtocolConverter
in the WebSocket transport needs to be thread safe
[ https://issues.apache.org/jira/browse/AMQ-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQ-5870.
-------------------------------
Resolution: Fixed
Fixed on master.
> Lazy create if MQTTProtocolConverter in the WebSocket transport needs to be thread safe
> ---------------------------------------------------------------------------------------
>
> Key: AMQ-5870
> URL: https://issues.apache.org/jira/browse/AMQ-5870
> Project: ActiveMQ
> Issue Type: Bug
> Components: MQTT, Transport
> Affects Versions: 5.10.2, 5.11.1
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Fix For: 5.12.0
>
>
> The MQTT WebSocket class creates its MQTTProtocolConverter lazily which can lead to a race as the method that does this is no thread safe and the race between connection create and the send of the BrokerInfo can lead two instances getting created and a stalled connect attempt.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)