]> git.kaiwu.me - haproxy.git/commit
MEDIUM: xprt_qstrm: implement QMux record parsing
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 8 Apr 2026 12:13:05 +0000 (14:13 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 10 Apr 2026 08:20:52 +0000 (10:20 +0200)
commit792e055c7c6e089d1cac01faf701d6dabdbb1a4f
tree2644a89293d288b9fc810ef7b67a0d1227fd70c7
parent5271cdaca3f14c8750b3da2f4cee0adc91750d66
MEDIUM: xprt_qstrm: implement QMux record parsing

This patch implements the new QMux record layer parsing for xprt_qstrm.
This is mostly similar to the MUX code from the previous patch.

Along with this change, a new xprt_qstrm layer accessor exposes the
possible remaining record length after Transport parameters parsing.
This can only occur when xprt_qstrm Rx buffer is not completely emptied
due to other following frames. If stored in the same record, MUX layer
has to know the remaining record length.

Thus, xprt_qstrm_rxrlen() is now used in qmux_init() to preinitialize
<rx.rlen> QCC field.
include/haproxy/xprt_qstrm.h
src/mux_quic.c
src/xprt_qstrm.c