[master] 752949d70 pcre recursion test: workspace_client and http_req_size for 32bit

Nils Goroll nils.goroll at uplex.de
Fri Jun 11 10:16:04 UTC 2021


commit 752949d70234e994e46bd8974a3a5e9e985efe2e
Author: Nils Goroll <nils.goroll at 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 {


More information about the varnish-commit mailing list