• 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
..
cache Loading commit data...
common Loading commit data...
fuzzers Loading commit data...
hash Loading commit data...
hpack Loading commit data...
http1 Loading commit data...
http2 Loading commit data...
mgt Loading commit data...
proxy Loading commit data...
storage Loading commit data...
waiter Loading commit data...
Makefile.am Loading commit data...
VSC_lck.vsc Loading commit data...
VSC_main.vsc Loading commit data...
VSC_mempool.vsc Loading commit data...
VSC_mgt.vsc Loading commit data...
VSC_sma.vsc Loading commit data...
VSC_smf.vsc Loading commit data...
VSC_smu.vsc Loading commit data...
VSC_vbe.vsc Loading commit data...
builtin.vcl Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
vclflint.lnt Loading commit data...
vclflint.sh Loading commit data...