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

Don't let "start" finish until the vsl_logger is underway as well.

parent 4ec6ef1f
......@@ -590,6 +590,9 @@ varnish_start(struct varnish *v)
macro_def(v->vl, v->name, "addr", "%s", h);
macro_def(v->vl, v->name, "port", "%s", p);
macro_def(v->vl, v->name, "sock", "%s %s", h, p);
/* Wait for vsl logging to get underway */
while (v->vsl_idle == 0)
VTIM_sleep(.1);
}
/**********************************************************************
......
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