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:
Willy Tarreau 2026-05-26 13:11:35 +02:00
parent 04811943b5
commit 635652c5aa

View file

@ -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 */