XMLWordPrintable

    Details

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

      A PUBLICATION packet with a retain flag set to 1 and a payload containing zero bytes will be processed as normal by the server and sent to clients with a subscription matching the topic name. Additionally any existing retained publication for the topic name will be removed and any future subscribers for the topic will not receive a retained publication. As normal means that the retained bit is not set in the message received by existing subscribers.

      Show
      A PUBLICATION packet with a retain flag set to 1 and a payload containing zero bytes will be processed as normal by the server and sent to clients with a subscription matching the topic name. Additionally any existing retained publication for the topic name will be removed and any future subscribers for the topic will not receive a retained publication. As normal means that the retained bit is not set in the message received by existing subscribers.
    • Resolution:
      Hide

      Fixed in WD10 line 372

      Show
      Fixed in WD10 line 372

      Description

      There specification suggests that a retained message published with a zero byte payload can be used to cause a retained message to be deleted by the server, although it
      leaves this behavior as optional. It is not clear whether the zero length message should be sent to subscribers.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andrew_banks Andrew Banks (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: