[master] 2998862 Always carry the VCL along with a VCL event

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Fri Aug 21 14:22:33 CEST 2015


commit 2998862d53516313ace942ed61edbb35f44f0d47
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Fri Aug 21 14:20:04 2015 +0200

    Always carry the VCL along with a VCL event

diff --git a/bin/varnishd/cache/cache_vcl.c b/bin/varnishd/cache/cache_vcl.c
index b4fda32..7e6247b 100644
--- a/bin/varnishd/cache/cache_vcl.c
+++ b/bin/varnishd/cache/cache_vcl.c
@@ -625,6 +625,7 @@ ccf_config_use(struct cli *cli, const char * const *av, void *priv)
 	vsb = VSB_new_auto();
 	AN(vsb);
 	ctx.msg = vsb;
+	ctx.vcl = vcl;
 	i = vcl->conf->event_vcl(&ctx, VCL_EVENT_USE);
 	AZ(VSB_finish(vsb));
 	if (i) {



More information about the varnish-commit mailing list