Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2365

MQTT's 'Session Present' is always '1'(true)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.8.1
    • Fix Version/s: None
    • Component/s: MQTT
    • Labels:
      None
    • Environment:

      ActiveMQ Artemis 2.8.1
      Eclipse Paho 1.2.1

       

      Description

      MQTT v3.1.1 spec says that as below.

      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].

      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).

        Attachments

        1. mqtt-connack.zip
          55 kB
          Yuta Kawadai

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yutax77 Yuta Kawadai
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: