qt5base-lts/tests/auto/network/access
Markus Goetz b99fa32d70 QNAM: Fix CPU load for limited upload QIODevice
This fixes high CPU load for upload devices that don't generate
a constant stream of data. Their readData() function was called all the
time without returning actual data.

This was noticed when implementing an upload device that emits data in
a limited way for bandwidth limiting.

[ChangeLog][QtNetwork][QNetworkAccessManager] Fixed high CPU load when handling
POST/upload QIODevice that generates data on readyRead().

Change-Id: Iefbcb1a21d8aedef1eb11761232dd16a049018dc
Reviewed-by: Richard J. Moore <rich@kde.org>
2014-07-25 12:56:14 +02:00
..
qabstractnetworkcache QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2014-02-25 16:47:13 +01:00
qftp Skip the test 'abort' of tst_qftp. 2014-03-10 20:41:43 +01:00
qhttpnetworkconnection Fix network tests relying on troll.no 2014-03-13 13:25:26 +01:00
qhttpnetworkreply QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2014-02-25 16:47:13 +01:00
qnetworkaccessmanager QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2014-02-25 16:47:13 +01:00
qnetworkcachemetadata QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2014-02-25 16:47:13 +01:00
qnetworkcookie QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2014-02-25 16:47:13 +01:00
qnetworkcookiejar QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2014-02-25 16:47:13 +01:00
qnetworkdiskcache Added stream version into network cache file format 2014-07-17 11:28:18 +02:00
qnetworkreply QNAM: Fix CPU load for limited upload QIODevice 2014-07-25 12:56:14 +02:00
qnetworkrequest QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2014-02-25 16:47:13 +01:00
spdy spdy autotest: Fixed build with QT_NO_NETWORKPROXY 2014-03-06 12:21:14 +01:00
access.pro network: add support for the SPDY protocol 2014-02-19 21:44:15 +01:00