[master] da552667d Document semi-dynamic default value for accept_filter

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Mar 4 11:21:07 UTC 2020


commit da552667d519e127d177ef5dd734820d4fe5164c
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Wed Mar 4 12:17:24 2020 +0100

    Document semi-dynamic default value for accept_filter

diff --git a/include/tbl/params.h b/include/tbl/params.h
index cf07a1052..16ab3d163 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -49,7 +49,7 @@ PARAM(
 	/* type */	bool,
 	/* min */	NULL,
 	/* max */	NULL,
-	/* def */	"on",
+	/* def */	"on",	/* default adjusted in mgt_param.c */
 	/* units */	"bool",
 	/* descr */
 	"Enable kernel accept-filters. This may require a kernel module to "
@@ -58,7 +58,10 @@ PARAM(
 	"in the first place. Malformed requests may go unnoticed and not "
 	"increase the client_req_400 counter. GET or HEAD requests with a "
 	"body may be blocked altogether.",
-	/* flags */	XYZZY
+	/* flags */	XYZZY,
+	/* dyn_min_reason */	NULL,
+	/* dyn_max_reason */	NULL,
+	/* dyn_def_reason */	"on (if your platform supports accept filters)"
 )
 #undef XYZZY
 


More information about the varnish-commit mailing list