summaryrefslogtreecommitdiffstats
path: root/src/network/access/qhttpnetworkconnection.cpp
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-08-31 12:36:37 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-09-01 09:36:26 (GMT)
commitfa7bed077d882d32e208c6f3879bac6355bb3726 (patch)
treeba26ee64db761b8affbd8c3655e63479bb28bb04 /src/network/access/qhttpnetworkconnection.cpp
parentefe61b3b44c0c391d4c11bd061e531f03bf8fb4a (diff)
downloadQt-fa7bed077d882d32e208c6f3879bac6355bb3726.zip
Qt-fa7bed077d882d32e208c6f3879bac6355bb3726.tar.gz
Qt-fa7bed077d882d32e208c6f3879bac6355bb3726.tar.bz2
QNAM HTTP Code: Pipelining used queue from wrong side
Do it as it was done in dequeueAndSendRequest. Reviewed-by: TrustMe
Diffstat (limited to 'src/network/access/qhttpnetworkconnection.cpp')
-rw-r--r--src/network/access/qhttpnetworkconnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qhttpnetworkconnection.cpp b/src/network/access/qhttpnetworkconnection.cpp
index e68aa3a..da9ec09 100644
--- a/src/network/access/qhttpnetworkconnection.cpp
+++ b/src/network/access/qhttpnetworkconnection.cpp
@@ -519,7 +519,7 @@ bool QHttpNetworkConnectionPrivate::fillPipeline(QList<HttpMessagePair> &queue,
if (queue.isEmpty())
return true;
- for (int i = 0; i < queue.length(); i++) {
+ for (int i = queue.count() - 1; i >= 0; --i) {
HttpMessagePair messagePair = queue.at(i);
const QHttpNetworkRequest &request = messagePair.first;