Priority: P5: Not important
Resolution: Out of scope
Affects Version/s: 1.0.0
Fix Version/s: None
Component/s: Bearer Management
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):
- 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
- 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.