Mailing List Archive

[master] d5c626213 Avoid a race by using syncvsl
commit d5c626213b8979ab9ac4adb48c93c861c6b3fd28
Author: Poul-Henning Kamp <phk@FreeBSD.org>
Date: Tue Jun 9 06:58:35 2020 +0000

Avoid a race by using syncvsl

Without syncvsl, client N+1 may emitting VSL before client N
has flushed its VSL.

(In general we should probably always use syncvsl with logexpect)

diff --git a/bin/varnishtest/tests/m00049.vtc b/bin/varnishtest/tests/m00049.vtc
index 01ad05b66..8a3dfd4f5 100644
--- a/bin/varnishtest/tests/m00049.vtc
+++ b/bin/varnishtest/tests/m00049.vtc
@@ -6,6 +6,7 @@ varnishtest "VMOD blob workspace overflow conditions"
# will not result in a compilation failure.

varnish v1 -cliok "param.set vcc_err_unref off"
+varnish v1 -cliok "param.set debug +syncvsl"

shell {
cat >vrt_blob.vcl <<-EOF
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit