equal
deleted
inserted
replaced
224 __FLOG_1(_T8("-> Trans %d : response cancelled"), iProtTrans->Transaction().Id()); |
224 __FLOG_1(_T8("-> Trans %d : response cancelled"), iProtTrans->Transaction().Id()); |
225 |
225 |
226 iCancellingResponse = ETrue; |
226 iCancellingResponse = ETrue; |
227 RHTTPTransaction trans = iProtTrans->Transaction(); |
227 RHTTPTransaction trans = iProtTrans->Transaction(); |
228 RHTTPResponse response = trans.Response(); |
228 RHTTPResponse response = trans.Response(); |
229 if(iBodyParts.Count() > 0) |
|
230 iBodyParts.Remove(0); |
|
231 iMessageParser.Flush (); |
229 iMessageParser.Flush (); |
232 iMessageParser.Reset(); |
230 iMessageParser.Reset(); |
233 iCancellingResponse = EFalse; |
231 iCancellingResponse = EFalse; |
234 } |
232 } |
235 |
233 |
658 |
656 |
659 iFlags |= EMessageComplete; |
657 iFlags |= EMessageComplete; |
660 |
658 |
661 if( !ConsumingResponse() ) |
659 if( !ConsumingResponse() ) |
662 { |
660 { |
663 if( iBodyParts.Count() == 0 ) |
661 iResponseObserver.ResponseComplete(aExcessData); |
664 iResponseObserver.ResponseComplete(aExcessData); |
|
665 |
662 |
666 if ( iCancellingResponse ) |
663 if ( iCancellingResponse ) |
667 { |
664 { |
668 return; |
665 return; |
669 } |
666 } |