Commit a135e8ff authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

load VCL earlier


git-svn-id: http://www.varnish-cache.org/svn/trunk@298 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 5b7231ae
......@@ -92,7 +92,9 @@ static struct cli_proto cli_proto[] = {
{ NULL }
};
/*--------------------------------------------------------------------*/
/*--------------------------------------------------------------------
* XXX: Think more about which order we start things
*/
void
child_main(void)
......@@ -108,6 +110,7 @@ child_main(void)
setbuf(stderr, NULL);
printf("Child starts\n");
CVCL_Load(heritage.vcl_file, "boot");
AZ(pthread_mutex_init(&sessmtx, NULL));
VBE_Init();
VSL_Init();
......@@ -125,7 +128,6 @@ child_main(void)
if (stevedore->open != NULL)
stevedore->open(stevedore);
CVCL_Load(heritage.vcl_file, "boot");
cli = cli_setup(eb, heritage.fds[2], heritage.fds[1], 0, cli_proto);
evtimer_set(&ev_keepalive, timer_keepalive, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment