Mailing List Archive

[master] 752949d70 pcre recursion test: workspace_client and http_req_size for 32bit
commit 752949d70234e994e46bd8974a3a5e9e985efe2e
Author: Nils Goroll <nils.goroll@uplex.de>
Date: Fri Jun 11 12:13:49 2021 +0200

pcre recursion test: workspace_client and http_req_size for 32bit

We tweak down the defaults on 32bit platforms, restore them to the 64bit
defaults

diff --git a/bin/varnishtest/tests/r01576.vtc b/bin/varnishtest/tests/r01576.vtc
index be7fe5d5a..60277485d 100644
--- a/bin/varnishtest/tests/r01576.vtc
+++ b/bin/varnishtest/tests/r01576.vtc
@@ -13,7 +13,8 @@ feature pcre_jit
# Approximate formula for FreeBSD/amd64:
# pcre_match_limit_recursion = thread_pool_stack * 2 - 9

-varnish v1 -vcl+backend {
+# -p: use 64bit defaults also on 32bit
+varnish v1 -arg "-p workspace_client=64k -p http_req_size=32k" -vcl+backend {
backend proforma none;

sub vcl_recv {
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit