webengine/osswebengine/cache/src/HttpCacheEvictionHandler.cpp
changeset 17 c8a366e56285
parent 16 a359256acfc6
--- a/webengine/osswebengine/cache/src/HttpCacheEvictionHandler.cpp	Thu Aug 27 07:44:59 2009 +0300
+++ b/webengine/osswebengine/cache/src/HttpCacheEvictionHandler.cpp	Thu Sep 24 12:53:48 2009 +0300
@@ -321,7 +321,7 @@
             }
 #endif
             // evacuate nonactive entries only
-            if( entry && entry->State() == CHttpCacheEntry::ECacheComplete )
+            if( entry && entry->State() == CHttpCacheEntry::ECacheComplete && !entry->BodyDataPartiallyWritten())
                 {
                 // watch out for 32 bit. it might overflow secInt.
                 currTime.SecondsFrom( entry->LastAccessed(), secInt );