From: Frederic Lecaille Date: Tue, 26 May 2026 08:38:20 +0000 (+0200) Subject: MINOR: haterm: enable h3 for TCP bindings X-Git-Tag: v3.4-dev14~42 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=04811943b5;p=thirdparty%2Fhaproxy.git MINOR: haterm: enable h3 for TCP bindings Add "h3" as ALPN identifier to be supported by TCP "bind" lines. So, QMUX is transparently enabled for such bindings. --- diff --git a/src/haterm_init.c b/src/haterm_init.c index e77872126..4b9e08786 100644 --- a/src/haterm_init.c +++ b/src/haterm_init.c @@ -401,7 +401,7 @@ void haproxy_init_args(int argc, char **argv) /* SSL/TCP binding */ hbuf_appendf(&fbuf, "\tbind %s:%s shards by-thread ssl " - "alpn h2,http1.1,http1.0" + "alpn h3,h2,http1.1,http1.0" " crt " HATERM_RSA_CERT_NAME " crt " HATERM_ECDSA_CERT_NAME "%s%s\n", ip, port2, @@ -438,6 +438,7 @@ 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"); } /* "global" section */