Should the QoS flag for PUBREL, SUBSCRIBE and UNSUBSCRIBE be reserved ?

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • 3.1.1
    • Affects Version/s: 3.1.1
    • Component/s: core
    • None
    • Hide

      bits 2,1 (the QoS flag) of the fixed header for PUBREL, SUBSCRIBE and UNSUBSCRIBE are reserved and must be set to 0,1. The server MUST treat any other value as malformed and close the TCP Connection.

      Show
      bits 2,1 (the QoS flag) of the fixed header for PUBREL, SUBSCRIBE and UNSUBSCRIBE are reserved and must be set to 0,1. The server MUST treat any other value as malformed and close the TCP Connection.
    • Hide

      Resolved in WD10 Lines 868, 992, 1033

      Show
      Resolved in WD10 Lines 868, 992, 1033

      The current spec is ambiguous with respect to the acceptable values of the QoS flag for PUBREL, SUBSCRIBE and UNSUBSCRIBE operations.
      It could be interpreted that QoS must be set to 1 to force an appropriate ACK. However the ACK behavior is described independently.

      do we accept only one value ?
      if so, should it be 0, 1 or 2?
      Are other values be treated as malformed?

      Forcing 0 would change the protocol flow on the wire.
      Forcing 1 is consistent with the spirit of the input spec, but we need some clarity. The intended ACK behavior is not really related to QoS.

            Assignee:
            Unassigned
            Reporter:
            Richard Coppen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: