- 05 Feb, 2019 18 commits
-
-
Nils Goroll authored
-
Nils Goroll authored
Tests #2887
-
Nils Goroll authored
Tests #2852 Sorry, not the big overhaul of u6 yet...
-
Nils Goroll authored
Neither the vmod_ default $Prefix not an author-supplied $Prefix has got anything to do with the actual name of the vmod.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
Allow VMOD writers to permit with NULL_OK flag. Only call object destructor on initialized objects. Fixes #2839
-
Nils Goroll authored
-
Nils Goroll authored
-
Nils Goroll authored
Yes, this is fugly, yet formatting of the backend.list output is spread all over the place (including vmods via the vdi_list_f callback), so until we decide it is worth spending time on separating formatting from content, I see no other option than making the field widths known to all vrt. The route ahead will likely be to only generate json and make varnishadm reponsible for formatting plain text output.
-
Nils Goroll authored
-
Nils Goroll authored
$ /tmp/bin/varnishadm backend.list -p Backend name Admin Probe Last change boot.a1 probe healthy Tue, 05 Feb 2019 09:58:23 GMT $ /tmp/bin/varnishadm backend.list -pj [ 2, ["backend.list", "-pj"], 1549360935.584, { "boot.a1": { "type": "backend", "admin_health": "probe", "probe_message": "healthy", "probe_details": {}, "last_change": 1549360703.515 }, Fixes #2894
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
one <= 0 test is an oversight.
-
Poul-Henning Kamp authored
Use boilerplate for vmod_debug
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
We have code which relies on it being able to contain negative values as error indications, but 'ssize_t' from unistd.h is a bridge too far for vrt.h which is meant to be _incredibly_ portable to avoid problems at compile time.
-
Poul-Henning Kamp authored
-
- 04 Feb, 2019 8 commits
-
-
Nils Goroll authored
... to bring "more nuance" (quote phk) to the director health state output, the list callback needs to be able to query VRT_Health() of the director's backends, so, in turn, we also need a CTX here. Ref https://github.com/varnishcache/varnish-cache/pull/2888#issuecomment-460258147 Of the following out-of-tree vmods, none uses the .list callback, so I expect minimal vmod author uprise: - saintmode (varnish-modules) - all_healthy - dynamic - cluster - weightadjust (someome(tm) needs to update to vdi_methods)
-
Poul-Henning Kamp authored
-
Nils Goroll authored
-
Nils Goroll authored
* move -p documentation from CLI "help backend.list" to sphinx * Add note on the fact that the health state as seen from VCL may differ
-
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
-
Nils Goroll authored
-
Poul-Henning Kamp authored
Change name for enums and args to have "enum_" and "arg_" prefixes. Minimal changes to the vmods to react to these changes.
-
Poul-Henning Kamp authored
freely update comments and documentation.
-
- 02 Feb, 2019 5 commits
-
-
Guillaume Quintard authored
-
Nils Goroll authored
Ref c0903203
-
Nils Goroll authored
my previous commit 7767fc32 was incaccurate Ref d8ae26b5
-
Nils Goroll authored
Ref d8ae26b5
-
Nils Goroll authored
-
- 01 Feb, 2019 1 commit
-
-
Guillaume Quintard authored
-
- 31 Jan, 2019 4 commits
-
-
Guillaume Quintard authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
Ie: vmod.cache_req_body instead of func_cache_req_body
-
- 30 Jan, 2019 2 commits
-
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
-
- 29 Jan, 2019 2 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-