This porblem only happens in nokia 3230 dont know why,
but the only solution that i have found is this
Code:
TBool CHTTPExampleEngine::GetNextDataPart(TPtrC8& aDataPart)
{
TBool retVal = EFalse;
aDataPart.Set(iPostData->Des());
retVal = (aDataPart.Length() == 0);
iDataAvailable=retVal;
return retVal;
}
and then in the MHFRunL... Function this is what i did
Code:
// Release buf
CleanupStack::PopAndDestroy(buf);
if(!iDataAvailable)
{
iRunning=EFalse;
iObserver.ResponseReceivedL(*iResponseBuffer);
}
else
dataSupplier->ReleaseData();