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

Words like Malformed Control Packet and Protocol Errors are used randomly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5, wd09, wd10
    • Fix Version/s: 5, wd10
    • Component/s: edits
    • Labels:
      None
    • Proposal:
      Hide

      Update the terminology section with with :

      Malformed packet: A control packet that cannot be parsed according to this specification.

      Protocol error: An error that is detected after the packet has been parsed and found to contain data that is not allowed by the protocol or is inconsistent with the state of the client or server.

      Show
      Update the terminology section with with : Malformed packet: A control packet that cannot be parsed according to this specification. Protocol error: An error that is detected after the packet has been parsed and found to contain data that is not allowed by the protocol or is inconsistent with the state of the client or server.

      Description

      We need to have consistency in the usage of malformed control packets and protocol errors .

      In PUBLISH 3.3.5 we say
      1) A Topic Alias value of zero or greater than the Maximum Alias is a protocol error, the receiver MUST send a DISCONNECT Packet with a 0x82 (Protocol error) Return code and then close the Network Connection.

      The client has been authenticated so there is no reason to hide the detection of a malformed packet or protocol error hence we should mandate the sending of the disconnect packet.

      In section 4.13 Handling errors.

      Remove the "MUST close the Network Connection" in the case of protocol errors, otherwise the receiver is required to detect every possible protocol error.

        Attachments

          Activity

            People

            • Assignee:
              ragupta2 Rahul Gupta
              Reporter:
              ragupta2 Rahul Gupta
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: