Commit 16cd3a80 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Workaround: ignore uncached objects in EXP_Touch()


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2544 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 6f32b64b
......@@ -198,6 +198,8 @@ EXP_Touch(const struct object *o, double now)
CHECK_OBJ_NOTNULL(o, OBJECT_MAGIC);
oe = o->objexp;
if (oe == NULL)
return;
CHECK_OBJ_NOTNULL(oe, OBJEXP_MAGIC);
if (oe->lru_stamp + params->lru_timeout > now)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment