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.
This commit is contained in:
Frederic Lecaille 2026-05-26 10:38:20 +02:00
parent e8c9aabd62
commit 04811943b5

View file

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