diff -r 79859ed3eea9 -r 919f36ff910f webengine/osswebengine/cache/src/HttpCacheStreamHandler.cpp --- a/webengine/osswebengine/cache/src/HttpCacheStreamHandler.cpp Tue Aug 31 16:17:46 2010 +0300 +++ b/webengine/osswebengine/cache/src/HttpCacheStreamHandler.cpp Wed Sep 01 12:28:30 2010 +0100 @@ -22,7 +22,7 @@ #include "HttpCacheUtil.h" #include "HttpCacheHandler.h" #include -#include +#include // EXTERNAL DATA STRUCTURES @@ -478,6 +478,17 @@ } // ----------------------------------------------------------------------------- +// CHttpCacheStreamHandler::CancelFlush +// +// ----------------------------------------------------------------------------- +// +void CHttpCacheStreamHandler::CancelFlush(CHttpCacheEntry& aEntry) + { + aEntry.CancelBodyWrite(); + } + + +// ----------------------------------------------------------------------------- // CHttpCacheStreamHandler::FlushAsync // // ----------------------------------------------------------------------------- @@ -512,6 +523,8 @@ // !enoughSpace saveOk = KErrDiskFull; aEntry.BodyData().Reset(); + TRequestStatus *stat = &aStatus; + User::RequestComplete(stat, saveOk); } } else