[master] 81c756e Dump oc->expire info
Poul-Henning Kamp
phk at FreeBSD.org
Tue Jan 5 12:53:38 CET 2016
commit 81c756e5df5f9592c6da906fc47e9f21d36846ca
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Jan 5 10:19:31 2016 +0000
Dump oc->expire info
diff --git a/bin/varnishd/cache/cache_panic.c b/bin/varnishd/cache/cache_panic.c
index b60ddbd..0613604 100644
--- a/bin/varnishd/cache/cache_panic.c
+++ b/bin/varnishd/cache/cache_panic.c
@@ -197,6 +197,9 @@ pan_objcore(struct vsb *vsb, const char *typ, const struct objcore *oc)
VSB_indent(vsb, 2);
VSB_printf(vsb, "refcnt = %d,\n", oc->refcnt);
VSB_printf(vsb, "flags = 0x%x,\n", oc->flags);
+ VSB_printf(vsb, "exp_flags = 0x%x,\n", oc->exp_flags);
+ VSB_printf(vsb, "exp = { %f, %f, %f, %f }\n",
+ oc->exp.t_origin, oc->exp.ttl, oc->exp.grace, oc->exp.keep);
VSB_printf(vsb, "objhead = %p,\n", oc->objhead);
VSB_printf(vsb, "stevedore = %p", oc->stobj->stevedore);
if (oc->stobj->stevedore != NULL) {
More information about the varnish-commit
mailing list