[master] 68768d9 Ignore SLT_CLI when waiting for vsl

Poul-Henning Kamp phk at FreeBSD.org
Wed Jan 6 12:43:22 CET 2016


commit 68768d9744b18337d82c46918d6bad22e40ce5d3
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Jan 6 11:43:03 2016 +0000

    Ignore SLT_CLI when waiting for vsl

diff --git a/bin/varnishtest/vtc_varnish.c b/bin/varnishtest/vtc_varnish.c
index 16d5d6c..500f0ae 100644
--- a/bin/varnishtest/vtc_varnish.c
+++ b/bin/varnishtest/vtc_varnish.c
@@ -242,6 +242,8 @@ varnishlog_thread(void *priv)
 
 		tag = VSL_TAG(c->rec.ptr);
 		vxid = VSL_ID(c->rec.ptr);
+		if (tag != SLT_CLI)
+			v->vsl_idle = 0;
 		if (tag == SLT__Batch)
 			continue;
 		tagname = VSL_tags[tag];



More information about the varnish-commit mailing list