[master] 0034032 Fix VSL no longer working

Poul-Henning Kamp phk at varnish-cache.org
Mon Nov 28 11:56:31 CET 2011


commit 0034032ba77f9e58895fbe0a9a8bfed0f3b5df8c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Nov 28 10:56:22 2011 +0000

    Fix VSL no longer working

diff --git a/bin/varnishtest/vtc_varnish.c b/bin/varnishtest/vtc_varnish.c
index 2f7514a..880f966 100644
--- a/bin/varnishtest/vtc_varnish.c
+++ b/bin/varnishtest/vtc_varnish.c
@@ -201,7 +201,7 @@ varnishlog_thread(void *priv)
 	(void)VSL_Arg(vsl, 'n', v->workdir);
 	while (v->pid) {
 		if (VSL_Dispatch(vsl, h_addlog, v) <= 0)
-			break;
+			usleep(100000);
 	}
 	VSM_Delete(vsl);
 	return (NULL);



More information about the varnish-commit mailing list