From: Willy Tarreau Date: Mon, 11 Apr 2022 07:29:21 +0000 (+0200) Subject: MINOR: mux-quic: properly set the flags and name fields X-Git-Tag: v2.6-dev6~132 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=671bd5af252c8e5acd1df19384643ced4363b3c8;p=thirdparty%2Fhaproxy.git 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. --- 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 =