[master] 71519e2 Tweak this parameter regardless of configure args
Federico G. Schwindt
fgsch at lodoss.net
Sat Mar 31 13:38:11 UTC 2018
commit 71519e2d9d99eb3f52af0ff1677988a3c4cfbf40
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Sat Mar 31 10:32:01 2018 -0300
Tweak this parameter regardless of configure args
diff --git a/bin/varnishd/mgt/mgt_param.c b/bin/varnishd/mgt/mgt_param.c
index 2d262e9..0797bfc 100644
--- a/bin/varnishd/mgt/mgt_param.c
+++ b/bin/varnishd/mgt/mgt_param.c
@@ -510,7 +510,8 @@ MCF_InitParams(struct cli *cli)
low = sysconf(_SC_THREAD_STACK_MIN);
MCF_ParamConf(MCF_MINIMUM, "thread_pool_stack", "%jdb", (intmax_t)low);
-#if defined(__SANITIZER)
+#if defined(__SANITIZER) || \
+ (defined(__has_feature) && __has_feature(address_sanitizer))
def = 92 * 1024;
#else
def = 48 * 1024;
More information about the varnish-commit
mailing list