Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-401

Bringing up network with QNetworkSession::open() causes QNetworkAccessManager::get() to slow down on N900.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5: Not important
    • Resolution: Out of scope
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: Bearer Management
    • Labels:
      None
    • Environment:
      N900, prt1.2

      Description

      Normally call to QNetworkAccessManager::get() is very fast since it only initiates a network request. After bringing the network up using the QNetworkSession::open(), it gets very slow each call to get() takes hundreds of milliseconds. This happens at least on N900 (prt 1.2).

      I have attached a Qt console application that demonstrates the issue. It makes a request to qt.nokia.com every 5 seconds and prints how many milliseconds was spend in QNetworkAccessManager::get() and
      how long it took to finish the request.

      The issue can be seen by two methods (disable automatic access points from N900, so that you can get the connection dialog):
      1.

      • Start the application with already working network connection (run-standalone.sh ./beartest) -> each get takes about few milliseconds (although first may take longer)
      • Start the application without network connection. This causes connection selection dialog to pop up. Select one interface -> each get takes hundreds of milliseconds
        2.
      • Start the application with already working network connection and disconnect the interface. This pops up the interface selection dialog, select one and again you can see get() slowing down.

        Attachments

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

          Activity

            People

            Assignee:
            cristiano cristiano di flora
            Reporter:
            snurmenn Sami Nurmenniemi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes