diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-08-31 12:36:37 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-09-01 09:36:26 (GMT) |
commit | fa7bed077d882d32e208c6f3879bac6355bb3726 (patch) | |
tree | ba26ee64db761b8affbd8c3655e63479bb28bb04 /src/network/access/qhttpnetworkconnection.cpp | |
parent | efe61b3b44c0c391d4c11bd061e531f03bf8fb4a (diff) | |
download | Qt-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.cpp | 2 |
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; |