[4.1] d07f3e3 Add the refcount to a backend panic message

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Fri Sep 4 15:54:50 CEST 2015


commit d07f3e38abdfa3361f40e5d66c4f5ca6cc5d41ef
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Jul 6 08:42:21 2015 +0200

    Add the refcount to a backend panic message

diff --git a/bin/varnishd/cache/cache_backend.c b/bin/varnishd/cache/cache_backend.c
index 29f22f7..611c089 100644
--- a/bin/varnishd/cache/cache_backend.c
+++ b/bin/varnishd/cache/cache_backend.c
@@ -330,6 +330,7 @@ vbe_panic(const struct director *d, struct vsb *vsb)
 	VSB_printf(vsb, "      health=%s, admin_health=%s",
 	    bp->healthy ? "healthy" : "sick", bp->admin_health);
 	VSB_printf(vsb, ", changed=%.1f\n", bp->health_changed);
+	VSB_printf(vsb, "      refcount = %d\n", bp->refcount);
 }
 
 /*--------------------------------------------------------------------*/



More information about the varnish-commit mailing list