[master] b61c230 Always expire the ims-candidate object on a successful fetch
Poul-Henning Kamp
phk at FreeBSD.org
Mon Jun 23 09:36:50 CEST 2014
commit b61c2305462c9428225a9531e664907db408fd7f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Jun 23 07:36:23 2014 +0000
Always expire the ims-candidate object on a successful fetch
Fixes #1530
diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index c175e74..a768170 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -557,6 +557,8 @@ vbf_stp_fetch(struct worker *wrk, struct busyobj *bo)
VBO_setstate(bo, BOS_FINISHED);
VSLb_ts_busyobj(bo, "BerespBody", W_TIM_real(wrk));
+ if (bo->ims_obj != NULL)
+ EXP_Rearm(bo->ims_obj, bo->ims_obj->exp.t_origin, 0, 0, 0);
return (F_STP_DONE);
}
More information about the varnish-commit
mailing list