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

Linux: Manually disconnect if ping/pong does not react within proper time

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Fixed
    • Affects Version/s: 5.12.1
    • Fix Version/s: 5.13.0 Beta2
    • Component/s: MQTT
    • Labels:
      None
    • Environment:

      ubuntu desktop 18.04

    • Platform/s:
      Linux/X11
    • Commits:
      1966376a937ac4e4486c30e5a5946494d20446dc

      Description

      I run the simpleclient example of QtMqtt. As shown in attachment. at 13:42:37 I unplug the ethernet cable from my computer.  QMqttClient should emit the signals stateChanged and disconnected after 60 seconds(the default keepAlive).But it emit the signals until 13:59:09. No such bug on windows.

        Attachments

        1. qtmqtt.png
          qtmqtt.png
          66 kB
        2. 微信截图_20190312114849.png
          微信截图_20190312114849.png
          31 kB
        3. 微信截图_20190312114917.png
          微信截图_20190312114917.png
          48 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes