From: Amaury Denoyelle Date: Mon, 20 Apr 2026 07:24:42 +0000 (+0200) Subject: BUG/MINOR: mux_quic: convert QCC rx.rlen to 64bits X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=fc869073d27bca29ef2656225fa7f1ef48c026f5;p=thirdparty%2Fhaproxy.git BUG/MINOR: mux_quic: convert QCC rx.rlen to 64bits This patch is related to the issue reported on the previous issue related to QMux record length parsing. QCC rx.rlen is used to store the decoded record length. Convert it into a plain 64bits integer instead of a size_t. This ensures it is sufficient to decode record length, even with an increase of max_record_length value (not currently implemented). This should fix github build issue #3334 for 32bits architecture. No need to backport. --- diff --git a/include/haproxy/mux_quic-t.h b/include/haproxy/mux_quic-t.h index b384624f7..134340567 100644 --- a/include/haproxy/mux_quic-t.h +++ b/include/haproxy/mux_quic-t.h @@ -93,7 +93,7 @@ struct qcc { } tx; struct { struct buffer qstrm_buf; - size_t rlen; /* last record length read */ + uint64_t rlen; /* last record length read */ } rx; uint64_t largest_bidi_r; /* largest remote bidi stream ID opened. */