Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64042

Re-Connecting with clean session must clean subscription cache

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.10.0 Beta 1
    • Fix Version/s: 5.10.0 RC
    • Component/s: MQTT
    • Labels:
      None
    • Commits:
      6b6d2749e6107a77390cc67572e86294115350a2

      Description

      Scenario is:

       

      • Connect with clean session
      • Subscribe to topic A
      • Loose connection / connection drop
      • Reconnect (keeping cleansession)
      • Resubscribe

       

      On the resubscribe the client will fail as it has the subscription still in the cache and it will only return that object, but not send the command to the broker.

      Workaround is to not use a clean session for reconnects.

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              mkalinow Maurice Kalinowski
              Reporter:
              mkalinow Maurice Kalinowski
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes