summaryrefslogtreecommitdiffstats
path: root/src/network/access/qhttpnetworkconnectionchannel.cpp
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-08-20 13:45:43 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-08-20 14:30:36 (GMT)
commitc0b24b7ce12387aff6e74b05b4060c61a58d87e0 (patch)
tree6b8e32f38dd26122b452cdf7de45a9fc92c878a1 /src/network/access/qhttpnetworkconnectionchannel.cpp
parent354a08b44bcd90cdce22698e204f7306ceea9385 (diff)
downloadQt-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/qhttpnetworkconnectionchannel.cpp')
-rw-r--r--src/network/access/qhttpnetworkconnectionchannel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/access/qhttpnetworkconnectionchannel.cpp b/src/network/access/qhttpnetworkconnectionchannel.cpp
index 37386ea..9d78c55 100644
--- a/src/network/access/qhttpnetworkconnectionchannel.cpp
+++ b/src/network/access/qhttpnetworkconnectionchannel.cpp
@@ -130,6 +130,7 @@ bool QHttpNetworkConnectionChannel::sendRequest()
reply->d_func()->clear();
reply->d_func()->connection = connection;
reply->d_func()->autoDecompress = request.d->autoDecompress;
+ reply->d_func()->pipeliningUsed = false;
}
state = QHttpNetworkConnectionChannel::WritingState;
pendingEncrypt = false;
@@ -682,6 +683,7 @@ void QHttpNetworkConnectionChannel::pipelineInto(HttpMessagePair &pair)
reply->d_func()->clear();
reply->d_func()->connection = connection;
reply->d_func()->autoDecompress = request.d->autoDecompress;
+ reply->d_func()->pipeliningUsed = true;
}
#ifndef QT_NO_NETWORKPROXY