You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2021/09/11 00:50:00 UTC

[jira] [Resolved] (ARTEMIS-2365) MQTT's 'Session Present' is always '1'(true)

     [ https://issues.apache.org/jira/browse/ARTEMIS-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram resolved ARTEMIS-2365.
-------------------------------------
    Resolution: Duplicate

> MQTT's 'Session Present' is always '1'(true)
> --------------------------------------------
>
>                 Key: ARTEMIS-2365
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2365
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: MQTT
>    Affects Versions: 2.8.1
>         Environment: ActiveMQ Artemis 2.8.1
> Eclipse Paho 1.2.1
>  
>            Reporter: Yuta Kawadai
>            Priority: Major
>         Attachments: mqtt-connack.zip
>
>
> MQTT v3.1.1 spec says that as below.
> {quote}If the Server accepts a connection with CleanSession set to 1, the Server MUST set Session Present to 0 in the CONNACK packet in addition to setting a zero return code in the CONNACK packet [MQTT-3.2.2-1].
> {quote}
> [http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/errata01/os/mqtt-v3.1.1-errata01-os-complete.html#_Toc442180848]
> But Artemis always returns '1'(true).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)