[master] 95db1abee skip workspace-hungry operations on 32bit for now

Nils Goroll nils.goroll at uplex.de
Mon Jan 27 17:40:06 UTC 2020


commit 95db1abeecaf5027a97ed4649ed3ea2dbec3bc42
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Jan 27 18:38:36 2020 +0100

    skip workspace-hungry operations on 32bit for now
    
    (actually not on 32bit, but where the default workspace is low)
    
    Ref #3203

diff --git a/bin/varnishtest/tests/v00004.vtc b/bin/varnishtest/tests/v00004.vtc
index 872796caa..5f7a7aec8 100644
--- a/bin/varnishtest/tests/v00004.vtc
+++ b/bin/varnishtest/tests/v00004.vtc
@@ -154,6 +154,10 @@ varnish v1 -vcl+backend {
 	sub recv9 {
 		std.log("STK recv9 " + debug.stk() + " WS " +
 		    vtc.workspace_free(client));
+		if (vtc.workspace_free(client) < 48 * 1024) {
+			std.log("XXX #3203 skipping");
+			return;
+		}
 		set req.http.regex = regsub(req.http.cookie, "(.*)", "\1\1\1\1\1\1\1\1");
 		std.log("WS " + vtc.workspace_free(client));
 		# hey geoff, this is deliberate


More information about the varnish-commit mailing list