[master] 09dd2b279 Allocate one byte more from the workspace, to make it also fail WS allocation on 32bit RH

Poul-Henning Kamp phk at FreeBSD.org
Wed Sep 25 12:40:06 UTC 2019


commit 09dd2b279e0f02cf0e405191fb87082ec2f12b7a
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Sep 25 12:38:38 2019 +0000

    Allocate one byte more from the workspace, to make it also fail
    WS allocation on 32bit RH
    
    Fixes #3061

diff --git a/bin/varnishtest/tests/v00058.vtc b/bin/varnishtest/tests/v00058.vtc
index 76fec5ec6..dda187f6d 100644
--- a/bin/varnishtest/tests/v00058.vtc
+++ b/bin/varnishtest/tests/v00058.vtc
@@ -138,7 +138,7 @@ varnish v1 -vcl+backend {
 		set req.http.Baz = "baz";
 		set req.http.Quux = "quux";
 
-		vtc.workspace_alloc(client, -12);
+		vtc.workspace_alloc(client, -11);
 
 		if (req.url == "/1") {
 			# VRT_StrandsWS() marks the WS as overflowed,


More information about the varnish-commit mailing list