[master] 6bd790c Clamp vsl_space and vsm_space to 4GB

Poul-Henning Kamp phk at FreeBSD.org
Mon Jan 2 13:18:05 CET 2017


commit 6bd790c58c46f56c499c937a77350403ac8f6d30
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Jan 2 12:16:09 2017 +0000

    Clamp vsl_space and vsm_space to 4GB
    
    Fixes: #1750

diff --git a/include/tbl/params.h b/include/tbl/params.h
index 0dd1d62..36aa4b0 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -1513,7 +1513,7 @@ PARAM(
 	/* name */	vsl_space,
 	/* typ */	bytes,
 	/* min */	"1M",
-	/* max */	NULL,
+	/* max */	"4G",
 	/* default */	"80M",
 	/* units */	"bytes",
 	/* flags */	MUST_RESTART,
@@ -1530,7 +1530,7 @@ PARAM(
 	/* name */	vsm_space,
 	/* typ */	bytes,
 	/* min */	"1M",
-	/* max */	NULL,
+	/* max */	"4G",
 	/* default */	"1M",
 	/* units */	"bytes",
 	/* flags */	MUST_RESTART,



More information about the varnish-commit mailing list