[PATCH] Allow varnish_reload_vcl to discard old VCL after reload

Nils Goroll slink at schokola.de
Mon Feb 9 13:46:58 CET 2015

On 19/11/14 10:10, Delacroix, Gauthier wrote:
> This patch allows varnish_reload_vcl to discard old (available) VCL
> configurations after reload. DISCARD_OLD_VCL environment variable must be set
> to 1. It is set to 0 by default to avoid unexpected behavior change.

Finally got around to ask about this on -hacking:

(13:44:49) scn: i think the consensus was that we keep n around
(13:44:56) scn: and make n configurable
(13:45:03) scn: we discussed this at some point on some vdd

So we should

- not exit 1 if the discard fails - the vcl could still be referenced
- have a parameter for the number of vcls to keep loaded.


More information about the varnish-dev mailing list