[4.1] a2d7099 Always send the VCL when delivering a VCL event
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Fri Sep 4 15:54:55 CEST 2015
commit a2d7099ebc25709d8905e34e341bc3abb59eb1e2
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Fri Aug 21 13:42:15 2015 +0200
Always send the VCL when delivering a VCL event
diff --git a/bin/varnishd/cache/cache_vcl.c b/bin/varnishd/cache/cache_vcl.c
index 2b3c5d2..b4fda32 100644
--- a/bin/varnishd/cache/cache_vcl.c
+++ b/bin/varnishd/cache/cache_vcl.c
@@ -393,6 +393,7 @@ vcl_set_state(struct vcl *vcl, const char *state)
INIT_OBJ(&ctx, VRT_CTX_MAGIC);
ctx.handling = &hand;
+ ctx.vcl = vcl;
switch(state[0]) {
case '0':
More information about the varnish-commit
mailing list