- 11 Feb, 2019 1 commit
-
-
Nils Goroll authored
Thank you to phk for the improvement over the initial suggestion
-
- 08 Feb, 2019 6 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
When running really massive runs, "-j180 -n10000" kind of things, the "rm -rf" of the tmpdir becomes the limiting factor. The new -C option sends that int nice(1)'ed child process.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Dridi Boukelmoune authored
Two of them have no init step, and the third one is fail-safe.
-
Dridi Boukelmoune authored
And get a chance to catch vdp->fini() failures with the offending VDP still present in the list of filters.
-
- 06 Feb, 2019 12 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
also when nothing has been received.
-
Poul-Henning Kamp authored
but also make it fail faster when appropriate
-
Poul-Henning Kamp authored
-
Dridi Boukelmoune authored
Apologies for the spam, I didn't think this would be a recurring pattern.
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
-
Poul-Henning Kamp authored
Fixes: #2844
-
Dridi Boukelmoune authored
I caught one during a review and figured I might as well sweep the whole tree, so this patch was created using Coccinelle and the following steps: $ cat >check_obj.cocci <<EOF @@ expression obj, magic; @@ if (obj != NULL) { - CHECK_OBJ_NOTNULL(obj, magic); + CHECK_OBJ(obj, magic); ... } EOF $ spatch --dir . --in-place --sp-file check_obj.cocci This is my fourth semantic patch, I wouldn't mind checking them in to have them handy in the repo to semi-automate code polish every now and then. For example in a /tools/cocci directory. This way people could study them or use them in their out-of-tree projects like VMODs or VUTs.
-
Poul-Henning Kamp authored
Fixes: #2297
-
Poul-Henning Kamp authored
-
- 05 Feb, 2019 20 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
Spotted by: Nils
-
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 1 commit
-
-
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)
-