summaryrefslogtreecommitdiffstats
path: root/src/network/access
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@nokia.com>2011-06-27 18:59:36 (GMT)
committerPierre Rossi <pierre.rossi@nokia.com>2011-06-28 12:05:00 (GMT)
commit7590cfcea9d40e59af8edd7cdd3d11ffbc5aaa04 (patch)
tree785c3e3503919bc13b4fa590533b7935787d7ad0 /src/network/access
parent007f01a7e801d5409708e4b8de8b3ead1481cf7d (diff)
downloadQt-7590cfcea9d40e59af8edd7cdd3d11ffbc5aaa04.zip
Qt-7590cfcea9d40e59af8edd7cdd3d11ffbc5aaa04.tar.gz
Qt-7590cfcea9d40e59af8edd7cdd3d11ffbc5aaa04.tar.bz2
Push the data together with the error in the synchronous case.
As it turns out some test cases in QtWebKit rely on this. Task-number: QTBUG-19556 Reviewed-by: mgoetz
Diffstat (limited to 'src/network/access')
-rw-r--r--src/network/access/qnetworkaccesshttpbackend.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/access/qnetworkaccesshttpbackend.cpp b/src/network/access/qnetworkaccesshttpbackend.cpp
index 64a22aa..7d49648 100644
--- a/src/network/access/qnetworkaccesshttpbackend.cpp
+++ b/src/network/access/qnetworkaccesshttpbackend.cpp
@@ -653,6 +653,7 @@ void QNetworkAccessHttpBackend::postRequest()
delegate->isPipeliningUsed,
QSharedPointer<char>(),
delegate->incomingContentLength);
+ replyDownloadData(delegate->synchronousDownloadData);
httpError(delegate->incomingErrorCode, delegate->incomingErrorDetail);
} else {
replyDownloadMetaData