[master] b39b8b2b1 More platform dependent defaults

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Mar 12 14:12:06 UTC 2020


commit b39b8b2b1c1cd7499d3eda6d63d89d21c81d8c90
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Thu Mar 12 15:08:44 2020 +0100

    More platform dependent defaults

diff --git a/include/tbl/params.h b/include/tbl/params.h
index b75bc9c68..6773d9ae5 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -856,12 +856,15 @@ PARAM(
 	/* type */	timeout,
 	/* min */	"1",
 	/* max */	"100",
-	/* def */	"",
+	/* def */	NULL,
 	/* units */	"seconds",
 	/* descr */
 	"The number of seconds between TCP keep-alive probes. "
 	"Ignored for Unix domain sockets.",
-	/* flags */	XYZZY
+	/* flags */	XYZZY,
+	/* dyn_min_reason */	NULL,
+	/* dyn_max_reason */	NULL,
+	/* dyn_def_reason */	"platform dependent"
 )
 
 PARAM(
@@ -869,13 +872,16 @@ PARAM(
 	/* type */	uint,
 	/* min */	"1",
 	/* max */	"100",
-	/* def */	"",
+	/* def */	NULL,
 	/* units */	"probes",
 	/* descr */
 	"The maximum number of TCP keep-alive probes to send before giving "
 	"up and killing the connection if no response is obtained from the "
 	"other end. Ignored for Unix domain sockets.",
-	/* flags */	XYZZY
+	/* flags */	XYZZY,
+	/* dyn_min_reason */	NULL,
+	/* dyn_max_reason */	NULL,
+	/* dyn_def_reason */	"platform dependent"
 )
 
 PARAM(
@@ -883,13 +889,16 @@ PARAM(
 	/* type */	timeout,
 	/* min */	"1",
 	/* max */	"7200",
-	/* def */	"",
+	/* def */	NULL,
 	/* units */	"seconds",
 	/* descr */
 	"The number of seconds a connection needs to be idle before TCP "
 	"begins sending out keep-alive probes. "
 	"Ignored for Unix domain sockets.",
-	/* flags */	XYZZY
+	/* flags */	XYZZY,
+	/* dyn_min_reason */	NULL,
+	/* dyn_max_reason */	NULL,
+	/* dyn_def_reason */	"platform dependent"
 )
 #undef XYZZY
 


More information about the varnish-commit mailing list