]> err.no Git - varnish/commitdiff
Mark all nonprobed backends healty
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 26 Aug 2008 09:32:24 +0000 (09:32 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 26 Aug 2008 09:32:24 +0000 (09:32 +0000)
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

index 8b7a3f7c3322bededf75aed02a7d3050388485ca..53c82f24f7129ef86168657ad941928ec0c67a65 100644 (file)
@@ -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;