[master] e099a39a6 Bump the minimum session workspace to 384 bytes

Poul-Henning Kamp phk at FreeBSD.org
Wed Aug 25 06:12:07 UTC 2021


commit e099a39a64b6634a5a486dc0769caad33022f0de
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Aug 25 06:10:37 2021 +0000

    Bump the minimum session workspace to 384 bytes
    
    Closes: #3318

diff --git a/bin/varnishtest/tests/o00005.vtc b/bin/varnishtest/tests/o00005.vtc
index 6a3c99446..53250dc84 100644
--- a/bin/varnishtest/tests/o00005.vtc
+++ b/bin/varnishtest/tests/o00005.vtc
@@ -216,8 +216,10 @@ logexpect l1 -wait
 # This value is fragile, ideally we would want something like
 # vtc.alloc(-x), yet there is no vcl code being run before we parse
 # proxy headers
+#
+# 20210825: Minimum possible seems to be 364, but param.min is 384 now.
 
-varnish v1 -cliok "param.set workspace_session 402"
+varnish v1 -cliok "param.set workspace_session 384"
 
 delay 1
 
diff --git a/include/tbl/params.h b/include/tbl/params.h
index 26345d6c3..7d383b8d2 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -1110,7 +1110,7 @@ PARAM_SIMPLE(
 PARAM_SIMPLE(
 	/* name */	workspace_session,
 	/* type */	bytes_u,
-	/* min */	"0.25k",
+	/* min */	"384b",
 	/* max */	NULL,
 	/* def */	"0.75k",
 	/* units */	"bytes",


More information about the varnish-commit mailing list