From c7788b73c6f473e5c0cdcb81d9ee807d26bf700e Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 3 Apr 2006 07:27:28 +0000 Subject: [PATCH] Call the init function when the VCL code is loaded. We may want to postpone this to use time later on. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@94 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_vcl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/varnish-cache/bin/varnishd/cache_vcl.c b/varnish-cache/bin/varnishd/cache_vcl.c index eda866f0..fdd5d3f1 100644 --- a/varnish-cache/bin/varnishd/cache_vcl.c +++ b/varnish-cache/bin/varnishd/cache_vcl.c @@ -94,6 +94,7 @@ CVCL_Load(const char *fn, const char *name) active_vcl = vcl; AZ(pthread_mutex_unlock(&sessmtx)); fprintf(stderr, "Loaded \"%s\" as \"%s\"\n", fn , name); + vcl->conf->init_func(); return (0); } -- 2.39.5