applayerpluginsandutils/httpprotocolplugins/httpclient/chttpclienthandler.cpp
changeset 14 ce2bfba3d005
parent 0 b16258d2340f
child 37 5f1cd966e0d9
child 49 b91bcc4b38e4
--- a/applayerpluginsandutils/httpprotocolplugins/httpclient/chttpclienthandler.cpp	Fri Apr 16 15:30:47 2010 +0300
+++ b/applayerpluginsandutils/httpprotocolplugins/httpclient/chttpclienthandler.cpp	Mon May 03 13:00:48 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