Inconsistency in the definition of the Remaining Length field for the different control packets

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • 3.1.1
    • Affects Version/s: 3.1.1
    • Component/s: edits
    • None
    • Hide

      Always define the Remaining Length field as being a multibyte field.

      Show
      Always define the Remaining Length field as being a multibyte field.

      The Remaining Length field is sometimes defined as a "IS a multibyte field" (see e.g. CONNECT packet line 623 or PUBLISH packet line 988) and sometimes as a "CAN BE a multibyte field (see e.g. PUBACK packet line 1171 or SUBSCRIBE packet line 1381).

      I believe the wording should be more consistent and always define this field as a "Is a multibyte field".

      I also noted that the Remaining Length field is not defined for the CONNACK packet, and incorrectly defined for the SUBSCRIBE packet (it should be "The length of the payload and the variable header.").

            Assignee:
            Rahul Gupta (Inactive)
            Reporter:
            Julien Niset (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: