summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qhash/tst_qhash.cpp
diff options
context:
space:
mode:
authorMarkus Goetz <markus@woboq.com>2014-07-23 16:35:01 +0200
committerMarkus Goetz <markus@woboq.com>2014-07-25 12:56:14 +0200
commitb99fa32d70e6511ae8bc1c6e806dbbb042dc8090 (patch)
tree6e1a3a98253eb1eabb6419a277b5419df4ad0611 /tests/auto/corelib/tools/qhash/tst_qhash.cpp
parent3a9763d3492ef9c26a63c86e8a024fab3ce5807a (diff)
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>
Diffstat (limited to 'tests/auto/corelib/tools/qhash/tst_qhash.cpp')
0 files changed, 0 insertions, 0 deletions