• Nils Goroll's avatar
    Output correct director health in CLI · 03f1a214
    Nils Goroll authored
    As VRT_Healthy needs a VRT_CTX, we move vcl_get_ctx and vcl_rel_ctx
    to cache_varnishd.h scope as VCL_Get_CliCtx and VCL_Rel_CliCtx.
    
    It has been discussed before if all varnishd cli commands should have
    a VRT_CTX, so the natural solution would seem  to add one in or close
    to VCLS_Poll(), yet CLI commands need specific ctxes (e.g. vcl.load
    needs VCL_MET_INIT), so (for now) it appears sensible to limit the
    ctx' scope to individual backend method calls.
    
    Fixes #2887
    03f1a214
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
man Loading commit data...
tools Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
.syntastic_c_config Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.Packaging Loading commit data...
README.rst Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
flint.lnt Loading commit data...
varnish-legacy.m4 Loading commit data...
varnish.m4 Loading commit data...
varnishapi-uninstalled.pc.in Loading commit data...
varnishapi.pc.in Loading commit data...