applayerpluginsandutils/httpprotocolplugins/httpclient/chttpresponseparser.cpp
branchRCL_3
changeset 6 fa2fd8b2d6cc
parent 3 5ee1d9ce5878
child 7 2611c08ee28e
--- a/applayerpluginsandutils/httpprotocolplugins/httpclient/chttpresponseparser.cpp	Fri Mar 12 15:45:46 2010 +0200
+++ b/applayerpluginsandutils/httpprotocolplugins/httpclient/chttpresponseparser.cpp	Mon Mar 15 12:42:40 2010 +0200
@@ -226,8 +226,6 @@
 	iCancellingResponse = ETrue;
 	RHTTPTransaction trans = iProtTrans->Transaction();
 	RHTTPResponse response = trans.Response();
-  if(iBodyParts.Count() > 0)
-  	iBodyParts.Remove(0);	
 	iMessageParser.Flush ();		
 	iMessageParser.Reset();
 	iCancellingResponse = EFalse;	
@@ -660,9 +658,7 @@
 
 	if( !ConsumingResponse() )
 		{
-		if( iBodyParts.Count() == 0 )
-			iResponseObserver.ResponseComplete(aExcessData);
-
+		iResponseObserver.ResponseComplete(aExcessData);
 		if ( iCancellingResponse )
 			{
 			return;