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