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

Investigate possibilities to handle connection loss and switching connections

    XMLWordPrintable

Details

    • Epic
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Network
    • None
    • Reliable Networking

    Description

      QNetworkAccessManager has a build-in NetworkConnectionMonitor. The idea was to react to switching or broken connections and inform our users or act otherwise, e.g. by invalidating a connection or resending a request when a the connection comes back.

      NetworkConnectionMonitor does not work properly and should probably be removed (QTBUG-136186, QTBUG-132137).

      We should think about a replacement, for example QNetworkInformation (QTBUG-136625). We can use this opportunity to reconsider the architecture. Maybe QNetworkInformation should live outside QNetworkAccessManager and the connection is done by the application developer.

      The QmlEngine should do something useful on default and with their own network requests (QTBUG-136177).

      This task is finished when we have a clear way for our application developers to react to changing, flaky or broken network connections.

      Attachments

        Issue Links

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

          Activity

            People

              manordheim MÃ¥rten Nordheim
              matthias_rauter Matthias Rauter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes