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 2022/04/06 21:03:00 UTC

[jira] [Commented] (ARTEMIS-3764) Incorrect CONNACK return code for MQTT 5

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

ASF subversion and git services commented on ARTEMIS-3764:
----------------------------------------------------------

Commit b48037a1e683f4e926c0a6a797faf2dcfcd2df3e in activemq-artemis's branch refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=b48037a1e6 ]

ARTEMIS-3764 wrong CONNACK return code for MQTT5

This bug is causing tests in o.a.a.a.t.i.m.s.c.ConnectTestsWithSecurity
to fail.

This commit fixes the problem by setting the session's version earlier
in the logic handling the CONNECT packet so that the proper CONNACK
return code can be supplied to the remote client in case of
authentication failure.


> Incorrect CONNACK return code for MQTT 5
> ----------------------------------------
>
>                 Key: ARTEMIS-3764
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3764
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)