diff options
author | Martin Petersson <Martin.Petersson@nokia.com> | 2012-05-07 12:41:58 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-11 10:38:25 +0200 |
commit | a050bba2f0151beb508fa7ab6f58c25c4e92bfb0 (patch) | |
tree | 82d65e9f02bccac3e847d0824092c779b92369c9 /src/network/access/qnetworkreplyhttpimpl_p.h | |
parent | 1211fd0b6116ca64468780bff12e7902576ab041 (diff) |
QNetworkReply::setReadBufferSize fix for threaded http
Added the setReadBufferSize functionallity again by limiting the
amount that the delegate read from the channel. Each time that data is
fetched from the reply buffer, we communicate back to the thread so
that more data can be fetched.
Task-number: QTBUG-25327
Change-Id: I2f9950196e64acd09bc8da50c1116f2c9deacad4
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/network/access/qnetworkreplyhttpimpl_p.h')
-rw-r--r-- | src/network/access/qnetworkreplyhttpimpl_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/access/qnetworkreplyhttpimpl_p.h b/src/network/access/qnetworkreplyhttpimpl_p.h index 6c2313448b..fb7dfb5495 100644 --- a/src/network/access/qnetworkreplyhttpimpl_p.h +++ b/src/network/access/qnetworkreplyhttpimpl_p.h @@ -139,6 +139,8 @@ signals: // To HTTP thread: void startHttpRequest(); void abortHttpRequest(); + void readBufferSizeChanged(qint64 size); + void readBufferFreed(qint64 size); void startHttpRequestSynchronously(); |