[master] ec9c04d Stop nagging the VSM if we ran out of it after an error
Poul-Henning Kamp
phk at FreeBSD.org
Wed Mar 29 13:51:06 CEST 2017
commit ec9c04d60ff0a6c7c87bc4d6d1c26c7ed40789b5
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Mar 29 09:45:14 2017 +0000
Stop nagging the VSM if we ran out of it after an error
diff --git a/bin/varnishtest/vtc_varnish.c b/bin/varnishtest/vtc_varnish.c
index 2079943..31ab631 100644
--- a/bin/varnishtest/vtc_varnish.c
+++ b/bin/varnishtest/vtc_varnish.c
@@ -218,6 +218,8 @@ varnishlog_thread(void *priv)
opt = 0;
while (v->pid || c != NULL) {
if (c == NULL) {
+ if (vtc_error)
+ break;
VTIM_sleep(0.1);
if (VSM_Open(vsm)) {
vtc_log(v->vl, 3, "vsm|%s",
More information about the varnish-commit
mailing list