[master] ec59b44 Limit VSL size to 4G-1b

Poul-Henning Kamp phk at FreeBSD.org
Wed Dec 7 10:50:05 CET 2016


commit ec59b44e5c4aa917aae3795ed5a65438db8c515a
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Dec 7 09:48:59 2016 +0000

    Limit VSL size to 4G-1b
    
    Closes #1750

diff --git a/include/tbl/params.h b/include/tbl/params.h
index 1cdecbb..4f30ea5 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -1505,7 +1505,7 @@ PARAM(
 	/* name */	vsl_space,
 	/* typ */	bytes,
 	/* min */	"1M",
-	/* max */	NULL,
+	/* max */	"4294967295",	// 4G-1
 	/* default */	"80M",
 	/* units */	"bytes",
 	/* flags */	MUST_RESTART,



More information about the varnish-commit mailing list