[master] 52b0d2594 param: Make ban_any_varian default to 0

Walid Boudebouda walid.boudebouda at gmail.com
Wed Jul 9 14:35:05 UTC 2025


commit 52b0d2594ccab339be6fc6e82c9e9af592a09aef
Author: Walid Boudebouda <walid.boudebouda at gmail.com>
Date:   Wed Jul 9 16:33:08 2025 +0200

    param: Make ban_any_varian default to 0

diff --git a/bin/varnishtest/tests/c00133.vtc b/bin/varnishtest/tests/c00133.vtc
index a52174867..9e94827b6 100644
--- a/bin/varnishtest/tests/c00133.vtc
+++ b/bin/varnishtest/tests/c00133.vtc
@@ -11,7 +11,7 @@ server s0 {
 	txresp -hdr "vary: version" -body "New variant B"
 } -start
 
-varnish v1 -arg "-p ban_any_variant=0" -vcl+backend {} -start
+varnish v1 -vcl+backend {} -start
 
 client c1 {
 	txreq -hdr "version: a"
diff --git a/bin/varnishtest/tests/c00134.vtc b/bin/varnishtest/tests/c00134.vtc
index 67de581bc..f88c4ba88 100644
--- a/bin/varnishtest/tests/c00134.vtc
+++ b/bin/varnishtest/tests/c00134.vtc
@@ -28,7 +28,7 @@ server s1 {
 
 } -start
 
-varnish v1 -arg "-p ban_any_variant=0" -vcl+backend {
+varnish v1 -vcl+backend {
 	sub vcl_backend_response {
 		set beresp.http.url = bereq.url;
 	}
diff --git a/include/tbl/params.h b/include/tbl/params.h
index c613d86c8..df7415536 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -762,7 +762,7 @@ PARAM_SIMPLE(
 	/* type */	uint,
 	/* min */	"0",
 	/* max */	NULL,
-	/* def */	"10000",
+	/* def */	"0",
 	/* units */	"checks",
 	/* descr */
 	"Maximum number of possibly non matching variants that we evaluate "


More information about the varnish-commit mailing list