[4.1] 43f9af4 Ignore SLT_CLI when waiting for vsl

Lasse Karstensen lkarsten at varnish-software.com
Thu Jan 14 15:15:11 CET 2016


commit 43f9af4647237ba041152aaf055c7bbef8df3a40
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