-------- In message <CABoVN9CUMa3=yzbgva7s6p5qcux7-xkjj8smihvmzaozdas...@mail.gmail.com> , Dridi Boukelmoune writes: >> => new CLI command: backend.tell <glob> args >> => ... if glob matches multiple backends, error-returns are ignored >> => ... Should "?" args be magic ? > >It occurred to me that directors listening to the CLI via a backend.tell >command is a very special case that we could otherwise generalize >to a vmod.cmd CLI command. This would allow modules like xkey >to purge either from VCL or the CLI, just like ban: > > vmod.cmd <vmod-name> command [args...]
That's a sensible generalization, but in difference from the backend targeted version, it will be up to the vmod itself to look a string up to find a backend etc. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ varnish-dev mailing list varnish-dev@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev