[4.0] d2a7d10 Use the correct flag to controll EXP_Touch() calls
Poul-Henning Kamp
phk at FreeBSD.org
Thu Mar 13 10:24:27 CET 2014
commit d2a7d10fb6747720ad8a896939cdb9a69cd07271
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Fri Feb 21 08:36:45 2014 +0000
Use the correct flag to controll EXP_Touch() calls
diff --git a/bin/varnishd/cache/cache_req_fsm.c b/bin/varnishd/cache/cache_req_fsm.c
index cb78866..ba3ef0d 100644
--- a/bin/varnishd/cache/cache_req_fsm.c
+++ b/bin/varnishd/cache/cache_req_fsm.c
@@ -100,7 +100,7 @@ cnt_deliver(struct worker *wrk, struct req *req)
assert(req->obj->objcore->refcnt > 0);
req->t_resp = W_TIM_real(wrk);
- if (!(req->obj->objcore->flags & OC_F_PRIVATE))
+ if (req->obj->objcore->flags & OC_F_EXP)
EXP_Touch(req->obj->objcore, req->t_resp);
HTTP_Setup(req->resp, req->ws, req->vsl, SLT_RespMethod);
More information about the varnish-commit
mailing list