src/network/access/qhttpnetworkconnectionchannel.cpp
changeset 37 758a864f9613
parent 33 3e2da88830cd
--- a/src/network/access/qhttpnetworkconnectionchannel.cpp	Fri Sep 17 08:34:18 2010 +0300
+++ b/src/network/access/qhttpnetworkconnectionchannel.cpp	Mon Oct 04 01:19:32 2010 +0300
@@ -647,8 +647,10 @@
     // finished request.
     // Note that this may trigger a segfault at some other point. But then we can fix the underlying
     // problem.
-    if (!resendCurrent)
+    if (!resendCurrent) {
+        request = QHttpNetworkRequest();
         reply = 0;
+    }
 
     // move next from pipeline to current request
     if (!alreadyPipelinedRequests.isEmpty()) {