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

    • Bug
    • Resolution: Out of scope
    • P5: Not important
    • None
    • 1.0.0
    • Bearer Management
    • None
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: