]> err.no Git - varnish/commit
Make backend.healthy available to VCL (Fixes: #312)
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 7 Sep 2008 07:47:39 +0000 (07:47 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 7 Sep 2008 07:47:39 +0000 (07:47 +0000)
commit5d5c8c080653cbf824e166ba07f9616c6f7c2d1c
tree224e25d1045848b68a36ee241ee70c5493b46637
parenta603f03efbf05bb5e0d6b0044a0efba4729b0451
Make backend.healthy available to VCL (Fixes: #312)

It'll typically be used in a manner similar to:

    if (! backend.healthy) {
        error 500 "Backend sick!";
    }

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3164 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_backend.h
varnish-cache/bin/varnishd/cache_dir_random.c
varnish-cache/bin/varnishd/cache_dir_round_robin.c
varnish-cache/bin/varnishd/cache_dir_simple.c
varnish-cache/bin/varnishd/cache_vrt.c
varnish-cache/include/vrt_obj.h
varnish-cache/lib/libvcl/vcc_fixed_token.c
varnish-cache/lib/libvcl/vcc_gen_obj.tcl
varnish-cache/lib/libvcl/vcc_obj.c