diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-08-20 13:45:43 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-08-20 14:30:36 (GMT) |
commit | c0b24b7ce12387aff6e74b05b4060c61a58d87e0 (patch) | |
tree | 6b8e32f38dd26122b452cdf7de45a9fc92c878a1 /src/network/access/qhttpnetworkreply.cpp | |
parent | 354a08b44bcd90cdce22698e204f7306ceea9385 (diff) | |
download | Qt-c0b24b7ce12387aff6e74b05b4060c61a58d87e0.zip Qt-c0b24b7ce12387aff6e74b05b4060c61a58d87e0.tar.gz Qt-c0b24b7ce12387aff6e74b05b4060c61a58d87e0.tar.bz2 |
QNAM HTTP: New attribute, Demo browser: Some request statistic output
New output that tells if a QNetworkReply was retrieved by using
HTTP pipelining.
The demo browser now shows some (debug) output about usage of cache,
pipelining and SSL.
Reviewed-by: Prasanth
Diffstat (limited to 'src/network/access/qhttpnetworkreply.cpp')
-rw-r--r-- | src/network/access/qhttpnetworkreply.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/access/qhttpnetworkreply.cpp b/src/network/access/qhttpnetworkreply.cpp index eb8ecb5..4a315e4 100644 --- a/src/network/access/qhttpnetworkreply.cpp +++ b/src/network/access/qhttpnetworkreply.cpp @@ -187,6 +187,10 @@ bool QHttpNetworkReply::isFinished() const return d_func()->state == QHttpNetworkReplyPrivate::AllDoneState; } +bool QHttpNetworkReply::isPipeliningUsed() const +{ + return d_func()->pipeliningUsed; +} QHttpNetworkReplyPrivate::QHttpNetworkReplyPrivate(const QUrl &newUrl) @@ -195,6 +199,7 @@ QHttpNetworkReplyPrivate::QHttpNetworkReplyPrivate(const QUrl &newUrl) chunkedTransferEncoding(0), currentChunkSize(0), currentChunkRead(0), connection(0), initInflate(false), autoDecompress(false), responseData(), requestIsPrepared(false) + ,pipeliningUsed(false) { } |