From 84130f7ea3dd560761afb4fd77e04f92c9e77dbc Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 26 Aug 2008 09:32:24 +0000 Subject: [PATCH] Mark all nonprobed backends healty git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3131 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_backend_poll.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/varnish-cache/bin/varnishd/cache_backend_poll.c b/varnish-cache/bin/varnishd/cache_backend_poll.c index 8b7a3f7c..53c82f24 100644 --- a/varnish-cache/bin/varnishd/cache_backend_poll.c +++ b/varnish-cache/bin/varnishd/cache_backend_poll.c @@ -417,6 +417,8 @@ VBP_Start(struct backend *b, struct vrt_backend_probe const *p) AN(vt); if (!memcmp(&vt->probe, p, sizeof *p)) { FREE_OBJ(vt); + /* No probe defined for this backend, set it healthy */ + b->healthy = 1; return; } vt->backend = b; -- 2.39.5