From 406db04c3f6eec1115e410bb6192d66248b1216d Mon Sep 17 00:00:00 2001 From: Pierre Rossi Date: Mon, 27 Jun 2011 18:46:01 +0200 Subject: 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 Change-Id: I84c8abca5e9a018a4057c827fca973b8ebb39df6 Reviewed-on: http://codereview.qt.nokia.com/795 Reviewed-by: Qt Sanity Bot Reviewed-by: Markus Goetz --- src/network/access/qnetworkreplyhttpimpl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/network/access') diff --git a/src/network/access/qnetworkreplyhttpimpl.cpp b/src/network/access/qnetworkreplyhttpimpl.cpp index f4c905f007..2eba7eabce 100644 --- a/src/network/access/qnetworkreplyhttpimpl.cpp +++ b/src/network/access/qnetworkreplyhttpimpl.cpp @@ -876,6 +876,7 @@ void QNetworkReplyHttpImplPrivate::postRequest() delegate->isPipeliningUsed, QSharedPointer(), delegate->incomingContentLength); + replyDownloadData(delegate->synchronousDownloadData); httpError(delegate->incomingErrorCode, delegate->incomingErrorDetail); } else { replyDownloadMetaData -- cgit v1.2.3