VDD summary

Poul-Henning Kamp phk at phk.freebsd.dk
Wed May 16 07:20:53 UTC 2018


--------
In message <CABoVN9CUMa3=YzBgVa7s6P5QcUx7-XKJJ8SmiHVmzAOZdasizQ at 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
phk at 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.


More information about the varnish-dev mailing list