diff options
author | Markus Goetz <markus@woboq.com> | 2014-07-23 16:35:01 +0200 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2014-07-25 12:56:14 +0200 |
commit | b99fa32d70e6511ae8bc1c6e806dbbb042dc8090 (patch) | |
tree | 6e1a3a98253eb1eabb6419a277b5419df4ad0611 /LGPL_EXCEPTION.txt | |
parent | 3a9763d3492ef9c26a63c86e8a024fab3ce5807a (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 'LGPL_EXCEPTION.txt')
0 files changed, 0 insertions, 0 deletions