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

Re-Connecting with clean session must clean subscription cache

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P1: Critical
    • 5.10.0 RC
    • 5.10.0 Beta 1
    • MQTT
    • None
    • 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

            mkalinow Maurice Kalinowski
            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