]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: xprt_qmux: define default value for get_alpn
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 29 Apr 2026 13:09:38 +0000 (15:09 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 21 May 2026 13:09:10 +0000 (15:09 +0200)
commitcdeb2aa4ef9a906a9a0dbb313548bb30ca7cc383
treee454de928b86aa54da760e6e0bb1e47c48826dfb
parent9e6e0fd149be6cb2a7e96973decdb6ed875582d7
MINOR: xprt_qmux: define default value for get_alpn

Extend get_alpn() for xprt_qmux layer. If lower layer does not implement
ALPN negotiation, return a statically default protocol value. Currently
this is set to "h3".

This change is required to support QMux in clear without SSL. In the
future, it could be useful to configure the default protocol, for
example by extending the syntax for the "proto" keyword.
src/xprt_qmux.c