mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04:00
MINOR: haterm: do not emit a warning when not using SSL
Latest commit 04811943b5 ("MINOR: haterm: enable h3 for TCP bindings")
produces a warning when SSL is not enabled due to the addition of
expose-experimental-directives. Let's condition it to the use of SSL.
This commit is contained in:
parent
04811943b5
commit
635652c5aa
1 changed files with 2 additions and 1 deletions
|
|
@ -438,7 +438,8 @@ void haproxy_init_args(int argc, char **argv)
|
|||
}
|
||||
hbuf_appendf(&gbuf, "global\n");
|
||||
hbuf_appendf(&gbuf, "\ttune.memory.hot-size 3145728\n");
|
||||
hbuf_appendf(&gbuf, "\texpose-experimental-directives\n");
|
||||
if (has_ssl)
|
||||
hbuf_appendf(&gbuf, "\texpose-experimental-directives\n");
|
||||
}
|
||||
|
||||
/* "global" section */
|
||||
|
|
|
|||
Loading…
Reference in a new issue