mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 12:12:35 +03:00
Ensure an error'd fetch's llcache object is implicitly stale so it is not reused
svn path=/trunk/netsurf/; revision=10301
This commit is contained in:
parent
6c9e4bea8e
commit
45faa483e5
@ -1501,7 +1501,9 @@ void llcache_fetch_callback(fetch_msg msg, void *p, const void *data,
|
||||
/* An error occurred while fetching */
|
||||
/* The fetch has has already been cleaned up by the fetcher */
|
||||
object->fetch.fetch = NULL;
|
||||
/** \todo Ensure this object becomes stale */
|
||||
|
||||
/* Invalidate cache control data */
|
||||
memset(&(object->cache), 0, sizeof(llcache_cache_control));
|
||||
|
||||
/** \todo Consider using errorcode for something */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user