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

Re-Connecting with clean session must clean subscription cache

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.10.0 RC
    • 5.10.0 Beta 1
    • MQTT
    • None
    • 6b6d2749e6107a77390cc67572e86294115350a2

      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.

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes