[4.1] 95100cd Limit VSL size to 4G-1b

PÃ¥l Hermunn Johansen hermunn at varnish-software.com
Thu Dec 8 15:04:05 CET 2016


commit 95100cd02cf54009d88ff64f50b52fa8dc3dacdd
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 9a272a3..a32864c 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -1494,7 +1494,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