applayerpluginsandutils/httpprotocolplugins/httpclient/chttpclienthandler.cpp
branchRCL_3
changeset 9 2611c08ee28e
parent 0 b16258d2340f
child 37 5f1cd966e0d9
child 49 b91bcc4b38e4
--- a/applayerpluginsandutils/httpprotocolplugins/httpclient/chttpclienthandler.cpp	Mon Mar 15 12:42:40 2010 +0200
+++ b/applayerpluginsandutils/httpprotocolplugins/httpclient/chttpclienthandler.cpp	Wed Mar 31 22:32:15 2010 +0300
@@ -1004,6 +1004,7 @@
 		// Transaction is still alive - ask its connection manager to cancel it.
 		MHttpRequest& request = static_cast<CHttpRequestComposer&>(aTransaction.TxData());
 		MHttpResponse& response = static_cast<CHttpResponseParser&>(aTransaction.RxData());
+		response.FlushBodyDataIfNotRead();
 		manager->CancelSubmission(request, response);
 		
 		// Connection is now cancelled - remove the connection manager from the