activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-5870) Lazy create if MQTTProtocolConverter in the WebSocket transport needs to be thread safe
Date Tue, 30 Jun 2015 21:15:04 GMT
Timothy Bish created AMQ-5870:
---------------------------------

             Summary: 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.11.1, 5.10.2
            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)

Mime
View raw message