diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/fetchcache.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/fetchcache.c b/content/fetchcache.c index 4fdbb93ca..133659557 100644 --- a/content/fetchcache.c +++ b/content/fetchcache.c @@ -605,6 +605,10 @@ void fetchcache_error_page(struct content *c, const char *error) 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; } |