[master] 683b7cbe8 minor code reordering
Nils Goroll
nils.goroll at uplex.de
Thu Mar 7 10:04:07 UTC 2019
commit 683b7cbe8cde1dde8f9e516a354b82430f1d318e
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Thu Mar 7 10:59:41 2019 +0100
minor code reordering
diff --git a/bin/varnishd/mgt/mgt_param.c b/bin/varnishd/mgt/mgt_param.c
index 2bf69a0e5..fa2fa462f 100644
--- a/bin/varnishd/mgt/mgt_param.c
+++ b/bin/varnishd/mgt/mgt_param.c
@@ -642,10 +642,6 @@ MCF_InitParams(struct cli *cli)
MCF_ParamConf(MCF_MAXIMUM, "vsl_space", "1G");
}
-#if !defined(HAVE_ACCEPT_FILTERS) || defined(__linux)
- MCF_ParamConf(MCF_DEFAULT, "accept_filter", "off");
-#endif
-
low = sysconf(_SC_THREAD_STACK_MIN);
MCF_ParamConf(MCF_MINIMUM, "thread_pool_stack", "%jdb", (intmax_t)low);
@@ -664,6 +660,10 @@ MCF_InitParams(struct cli *cli)
MCF_ParamConf(MCF_MAXIMUM, "thread_pools", "%d", MAX_THREAD_POOLS);
+#if !defined(HAVE_ACCEPT_FILTERS) || defined(__linux)
+ MCF_ParamConf(MCF_DEFAULT, "accept_filter", "off");
+#endif
+
VCLS_AddFunc(mgt_cls, MCF_AUTH, cli_params);
vsb = VSB_new_auto();
More information about the varnish-commit
mailing list