From 671bd5af252c8e5acd1df19384643ced4363b3c8 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 11 Apr 2022 09:29:21 +0200 Subject: [PATCH] MINOR: mux-quic: properly set the flags and name fields The mux didn't have its flags nor name set, as seen in this output of "haproxy -vv": Available multiplexer protocols : (protocols marked as cannot be specified using 'proto' keyword) quic : mode=HTTP side=FE mux= flags= h2 : mode=HTTP side=FE|BE mux=H2 flags=HTX|CLEAN_ABRT|HOL_RISK|NO_UPG This might have random impacts at certain points like forcing some connections to close instead of aborting a stream, or not always handling certain streams as fully HTX-compliant. --- src/mux_quic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mux_quic.c b/src/mux_quic.c index 3e32388919..786d8bdd41 100644 --- a/src/mux_quic.c +++ b/src/mux_quic.c @@ -1350,6 +1350,8 @@ static const struct mux_ops qc_ops = { .subscribe = qc_subscribe, .unsubscribe = qc_unsubscribe, .wake = qc_wake, + .flags = MX_FL_CLEAN_ABRT|MX_FL_HTX|MX_FL_NO_UPG, + .name = "QUIC", }; static struct mux_proto_list mux_proto_quic = -- 2.47.3