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

Treat invalid topic alias as a protocol error.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5
    • Fix Version/s: wd08
    • Component/s: core
    • Labels:
      None
    • Proposal:
      Hide

      Replace "receiver sends a No Topic return code on the PUBACK or PUBREL response."

      With "receiver sends a No Topic return code in a DISCONNECT packet and then closes the network connection.".

      Replace "sends an Alias Not Accepted return code on the PUBACK or PUBREL response."

      With "sends an Alias Not Accepted return code in a DISCONNECT packet and then closes the network connection.

      Show
      Replace "receiver sends a No Topic return code on the PUBACK or PUBREL response." With "receiver sends a No Topic return code in a DISCONNECT packet and then closes the network connection.". Replace "sends an Alias Not Accepted return code on the PUBACK or PUBREL response." With "sends an Alias Not Accepted return code in a DISCONNECT packet and then closes the network connection.

      Description

      Issue 269 MQTT-SN Feature: Topic Registration allows the protocol to continue where an invalid topic alias has been used.

      The network is required to provided an in order lossless connection so the only possible causes of an invalid alias are an incorrect implementation or the sending of publications by the client before the connack has been received informing it of the servers maximum topic alias value.

      Continuing the message flow risks data loss. In all cases where an invalid topic alias is received the receiver should disconnect with a 130 0x82 Protocol error disconnect code.

        Attachments

          Activity

            People

            • Assignee:
              Andrew_Banks Andrew Banks
              Reporter:
              Andrew_Banks Andrew Banks
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: