From: Willy Tarreau Date: Tue, 26 May 2026 11:11:35 +0000 (+0200) Subject: MINOR: haterm: do not emit a warning when not using SSL X-Git-Tag: v3.4-dev14~41 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=635652c5aa537a5d219019b328959f77fec31233;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/haterm_init.c b/src/haterm_init.c index 4b9e08786..f63a9a42b 100644 --- a/src/haterm_init.c +++ b/src/haterm_init.c @@ -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 */