[master] d270a00 Maintain `-d` behaviour when log is overrun and reacquired
Federico G. Schwindt
fgsch at lodoss.net
Wed Apr 20 11:51:05 CEST 2016
commit d270a009be6f1966330643bc3de846334a30513e
Author: Jason Stangroome <jason at codeassassin.com>
Date: Wed Apr 20 16:13:44 2016 +1000
Maintain `-d` behaviour when log is overrun and reacquired
diff --git a/lib/libvarnishtools/vut.c b/lib/libvarnishtools/vut.c
index 40d001b..f534266 100644
--- a/lib/libvarnishtools/vut.c
+++ b/lib/libvarnishtools/vut.c
@@ -372,7 +372,8 @@ VUT_Main(void)
continue;
}
c = VSL_CursorVSM(VUT.vsl, VUT.vsm,
- VSL_COPT_TAIL | VSL_COPT_BATCH);
+ (VUT.d_opt ? VSL_COPT_TAILSTOP : VSL_COPT_TAIL)
+ | VSL_COPT_BATCH);
if (c == NULL) {
VSL_ResetError(VUT.vsl);
VSM_Close(VUT.vsm);
More information about the varnish-commit
mailing list