[master] 6f337c4 Dump sp->ws on panic
Poul-Henning Kamp
phk at FreeBSD.org
Tue Jan 16 06:32:08 UTC 2018
commit 6f337c4148a06d760dbdb4e33f741b5eee5ed7f8
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Jan 16 06:31:07 2018 +0000
Dump sp->ws on panic
diff --git a/bin/varnishd/cache/cache_panic.c b/bin/varnishd/cache/cache_panic.c
index b13ae48..90050ac 100644
--- a/bin/varnishd/cache/cache_panic.c
+++ b/bin/varnishd/cache/cache_panic.c
@@ -506,6 +506,7 @@ pan_sess(struct vsb *vsb, const struct sess *sp)
sp->fd, VXID(sp->vxid));
VSB_printf(vsb, "t_open = %f,\n", sp->t_open);
VSB_printf(vsb, "t_idle = %f,\n", sp->t_idle);
+ pan_ws(vsb, sp->ws);
VSB_printf(vsb, "transport = %s",
xp == NULL ? "<none>" : xp->name);
if (xp != NULL && xp->sess_panic != NULL) {
More information about the varnish-commit
mailing list