You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/03/03 18:46:18 UTC
[jira] [Commented] (AMQ-5886) AMQ accepts illegal MQTT protocol
level (5, only 3 and 4 are defined)
[ https://issues.apache.org/jira/browse/AMQ-5886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15178217#comment-15178217 ]
ASF subversion and git services commented on AMQ-5886:
------------------------------------------------------
Commit f3544f248ffdce8d4c4bb80698b0d69a7e7492d9 in activemq's branch refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=f3544f2 ]
https://issues.apache.org/jira/browse/AMQ-5886
Ensure we reject protocol version that we don't currently support.
> AMQ accepts illegal MQTT protocol level (5, only 3 and 4 are defined)
> ---------------------------------------------------------------------
>
> Key: AMQ-5886
> URL: https://issues.apache.org/jira/browse/AMQ-5886
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.11.1
> Environment: OSX 10.10
> https://github.com/ckrey/MQTT-Client-Framework testcases
> Reporter: Christoph Krey
> Priority: Minor
>
> MQTT spec says:
> [MQTT-3.1.2-2]
> The Server MUST respond to the CONNECT Packet with a CONNACK return code 0x01 (unacceptable protocol level) and then disconnect the Client if the Protocol Level is not supported by the Server.
> [MQTT-3.2.2-5]
> If a server sends a CONNACK packet containing a non-zero return code it MUST then close the Network Connection.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)