From 04811943b5489608c3f4e24e9f153eb26ba7d020 Mon Sep 17 00:00:00 2001 From: Frederic Lecaille Date: Tue, 26 May 2026 10:38:20 +0200 Subject: [PATCH] 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. --- src/haterm_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */