Uploaded image for project: 'OASIS Message Queuing Telemetry Transport (MQTT) TC'
  1. OASIS Message Queuing Telemetry Transport (MQTT) TC
  2. MQTT-307

Clarify Handling of DISCONNECT Expiry interval error in WD04

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: wd04, 5
    • Fix Version/s: 5, wd10
    • Component/s: core
    • Labels:
    • Proposal:
      Hide

      The server sends a DISCONNECT packet indicating a protocol error rc=0x82 in response to receiving DISCONNECT with an invalid Session Expiry.

      Show
      The server sends a DISCONNECT packet indicating a protocol error rc=0x82 in response to receiving DISCONNECT with an invalid Session Expiry.

      Description

      WD04 Section 3.14 Line 1833 says "If the Session State Expiry interval in the CONNECT packet was zero it is a protocol error to set a non zero Session Expiry in the DISCONNECT packet"

      The text does not state how this error should be handled by the recipient. I don't think it would hurt to say 'The erroneous value will be treated as a zero, and the processing of the DISCONNECT message will proceed as described in section 3.14 (which says it MUST close the network connection and not send any more control packets, and not trigger a WILL message if the DISCONNECT return code is less than 128).

        Attachments

          Activity

            People

            • Assignee:
              andrew_banks Andrew Banks (Inactive)
              Reporter:
              edbriggs Ed Briggs [X] (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: