Author: jmb
Date: Wed Feb 27 18:48:35 2008
New Revision: 3871
URL:
http://source.netsurf-browser.org?rev=3871&view=rev
Log:
Explicitly mark error pages as non-fresh so they'll get purged from the cache ASAP.
Modified:
trunk/netsurf/content/fetchcache.c
Modified: trunk/netsurf/content/fetchcache.c
URL:
http://source.netsurf-browser.org/trunk/netsurf/content/fetchcache.c?rev=...
==============================================================================
--- trunk/netsurf/content/fetchcache.c (original)
+++ trunk/netsurf/content/fetchcache.c Wed Feb 27 18:48:35 2008
@@ -605,6 +605,10 @@
if (!content_process_data(c, error_page, length))
return;
content_convert(c, c->width, c->height);
+
+ /* Mark content as non-fresh, so it'll get cleaned from the
+ * cache at the earliest opportunity */
+ c->fresh = false;
}