summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2010-04-21 08:28:31 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2010-04-21 08:29:42 (GMT)
commit6c69440513ba9227edc47b6914190434b07ff973 (patch)
treedc06c0cd22574373685722ee0f84f05e4d8211ce /src
parentc39365020425d9ec80759418d7ac45b0208cb159 (diff)
downloadQt-6c69440513ba9227edc47b6914190434b07ff973.zip
Qt-6c69440513ba9227edc47b6914190434b07ff973.tar.gz
Qt-6c69440513ba9227edc47b6914190434b07ff973.tar.bz2
QNAM HTTP: Fixed a bug when getting empty files with pipelining
Instead of returning from the socket's readyRead() handler break out of the switch() and continue parsing the data.
Diffstat (limited to 'src')
-rw-r--r--src/network/access/qhttpnetworkconnectionchannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qhttpnetworkconnectionchannel.cpp b/src/network/access/qhttpnetworkconnectionchannel.cpp
index 4c3dbe2..f1c51bc 100644
--- a/src/network/access/qhttpnetworkconnectionchannel.cpp
+++ b/src/network/access/qhttpnetworkconnectionchannel.cpp
@@ -384,7 +384,7 @@ void QHttpNetworkConnectionChannel::_q_receiveReply()
if (!replyPrivate->expectContent()) {
replyPrivate->state = QHttpNetworkReplyPrivate::AllDoneState;
allDone();
- return;
+ break;
}
}
break;