diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-07-09 10:40:22 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-07-09 10:41:13 (GMT) |
commit | 6574240d8ea657d02c3d5bf5567da7d28f42d69b (patch) | |
tree | 99a4d2715f1a0e82dae9833a28f3cb72a4f68a3d /src/network/access/qhttpnetworkreply_p.h | |
parent | 14ef40f9b96c5afea9d08701a2a1856388349f9e (diff) | |
download | Qt-6574240d8ea657d02c3d5bf5567da7d28f42d69b.zip Qt-6574240d8ea657d02c3d5bf5567da7d28f42d69b.tar.gz Qt-6574240d8ea657d02c3d5bf5567da7d28f42d69b.tar.bz2 |
QHttpNetworkReply: Cache isChunked
Cache return value of expensive function.
Reviewed-by: Peter Hartmann
Diffstat (limited to 'src/network/access/qhttpnetworkreply_p.h')
-rw-r--r-- | src/network/access/qhttpnetworkreply_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/access/qhttpnetworkreply_p.h b/src/network/access/qhttpnetworkreply_p.h index b86cfaa..5eb70ce 100644 --- a/src/network/access/qhttpnetworkreply_p.h +++ b/src/network/access/qhttpnetworkreply_p.h @@ -198,6 +198,7 @@ public: qint64 contentRead; qint64 totalProgress; QByteArray fragment; // used for header, status, chunk header etc, not for reply data + bool chunkedTransferEncoding; qint64 currentChunkSize; qint64 currentChunkRead; QPointer<QHttpNetworkConnection> connection; |