summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2010-02-24 09:59:40 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2010-02-24 10:14:32 (GMT)
commitf6293eaf8c2f3d211441f1011d7dd8c88e3d81ef (patch)
treef2ebae742a16298065b518b61b52c58af2625ce3 /src/network
parent12b5619d3cf58a4f8479a796f900f8c946368079 (diff)
downloadQt-f6293eaf8c2f3d211441f1011d7dd8c88e3d81ef.zip
Qt-f6293eaf8c2f3d211441f1011d7dd8c88e3d81ef.tar.gz
Qt-f6293eaf8c2f3d211441f1011d7dd8c88e3d81ef.tar.bz2
QNAM HTTP: Set some values after clear() in a QHttpNetworkReply
Reviewed-by: TrustMe
Diffstat (limited to 'src/network')
-rw-r--r--src/network/access/qhttpnetworkconnectionchannel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/access/qhttpnetworkconnectionchannel.cpp b/src/network/access/qhttpnetworkconnectionchannel.cpp
index dbee72a..e92b2f3 100644
--- a/src/network/access/qhttpnetworkconnectionchannel.cpp
+++ b/src/network/access/qhttpnetworkconnectionchannel.cpp
@@ -459,6 +459,8 @@ void QHttpNetworkConnectionChannel::handleUnexpectedEOF()
} else {
reconnectAttempts--;
reply->d_func()->clear();
+ reply->d_func()->connection = connection;
+ reply->d_func()->connectionChannel = this;
closeAndResendCurrentRequest();
}
}