From: Amaury Denoyelle Date: Wed, 11 Jun 2025 15:38:21 +0000 (+0200) Subject: MINOR: mux-quic-be: allow QUIC proto on backend side X-Git-Tag: v3.3-dev2~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c751a3cc1b87db321d584358dc4f319be6c0a9c;p=thirdparty%2Fhaproxy.git MINOR: mux-quic-be: allow QUIC proto on backend side Activate QUIC protocol support for MUX-QUIC on the backend side, additionally to current frontend support. This change is mandatory to be able to implement QUIC on the backend side. Without this modification, it is impossible to activate explicitely QUIC protocol on a server line, hence an error is reported : config : proxy 'xxxx' : MUX protocol 'quic' is not usable for server 'yyyy' --- diff --git a/src/mux_quic.c b/src/mux_quic.c index 0473cb50f..9343f8d10 100644 --- a/src/mux_quic.c +++ b/src/mux_quic.c @@ -4149,6 +4149,6 @@ void qcc_show_quic(struct qcc *qcc) } static struct mux_proto_list mux_proto_quic = - { .token = IST("quic"), .mode = PROTO_MODE_HTTP, .side = PROTO_SIDE_FE, .mux = &qmux_ops }; + { .token = IST("quic"), .mode = PROTO_MODE_HTTP, .side = PROTO_SIDE_BOTH, .mux = &qmux_ops }; INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_quic);