summaryrefslogtreecommitdiffstats
path: root/cmake/QtModuleHelpers.cmake
diff options
context:
space:
mode:
authorMÃ¥rten Nordheim <marten.nordheim@qt.io>2022-09-09 13:23:59 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-09-12 17:50:07 +0000
commit3a7646f02a5a1b6220a675128c52a675cc856977 (patch)
tree80730ed4a05b5ec5ebe52af50da90a97004e88b8 /cmake/QtModuleHelpers.cmake
parent1f6213713d8e51b8d236c6be41c92b36fe95e3c1 (diff)
QNetworkReply: Fix missing final emission of readyRead
If we receive compressed data we will decompress it as it comes in, in some cases the final byte we receive doesn't actually contribute to the final output. If this byte is handled by itself then, when combined with QNetworkReply's signal compression, we ended up not emitting the readyRead signal for any of the data we received while compressing the signals. So, instead of relying on checking difference in bytes downloaded for each batch of data received we keep track of how much data we had received the last time we emitted readyRead. Fixes: QTBUG-106354 Change-Id: I4777be29b46bf0de968667e9de9d975c735ac6e6 Reviewed-by: Konrad Kujawa <konrad.kujawa@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit 5387b88aa96d2096a3423190d1f1e5bdd2c52052) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'cmake/QtModuleHelpers.cmake')
0 files changed, 0 insertions, 0 deletions