--- 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;