r94 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Mon Apr 3 09:27:29 CEST 2006


Author: phk
Date: 2006-04-03 09:27:28 +0200 (Mon, 03 Apr 2006)
New Revision: 94

Modified:
   trunk/varnish-cache/bin/varnishd/cache_vcl.c
Log:
Call the init function when the VCL code is loaded.
We may want to postpone this to use time later on.


Modified: trunk/varnish-cache/bin/varnishd/cache_vcl.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vcl.c	2006-04-03 07:14:24 UTC (rev 93)
+++ trunk/varnish-cache/bin/varnishd/cache_vcl.c	2006-04-03 07:27:28 UTC (rev 94)
@@ -94,6 +94,7 @@
 		active_vcl = vcl;
 	AZ(pthread_mutex_unlock(&sessmtx));
 	fprintf(stderr, "Loaded \"%s\" as \"%s\"\n", fn , name);
+	vcl->conf->init_func();
 	return (0);
 }
 




More information about the varnish-commit mailing list