summaryrefslogtreecommitdiffstats
path: root/src/network/access/qabstractnetworkcache.cpp
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2022-09-09 13:23:59 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2022-09-12 13:06:50 +0200
commit5387b88aa96d2096a3423190d1f1e5bdd2c52052 (patch)
tree45df9d05301742b7968f7a16411c3067e28bf4fc /src/network/access/qabstractnetworkcache.cpp
parentac0088aaac16c0a9e0db26a190ea6f49f83a54e2 (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. Pick-to: 6.3 6.4 6.4.0 Fixes: QTBUG-106354 Change-Id: I4777be29b46bf0de968667e9de9d975c735ac6e6 Reviewed-by: Konrad Kujawa <konrad.kujawa@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/network/access/qabstractnetworkcache.cpp')
0 files changed, 0 insertions, 0 deletions