qt6-bb10/tests/auto/network/access/qnetworkreply
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
..
certs
echo QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2014-02-25 16:47:13 +01:00
test QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2014-02-25 16:47:13 +01:00
.gitattributes
.gitignore
bigfile
empty
image1.jpg
image2.jpg
image3.jpg
index.html
qnetworkreply.pro
qnetworkreply.qrc
resource
rfc3252.txt
smb-file.txt
tst_qnetworkreply.cpp QNAM: Fix CPU load for limited upload QIODevice 2014-07-25 12:56:14 +02:00