]> git.kaiwu.me - haproxy.git/commit
MEDIUM: mux-quic: implement QMux receive
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 27 Mar 2026 13:39:34 +0000 (14:39 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 2 Apr 2026 12:02:04 +0000 (14:02 +0200)
commit6ae22a50e5ebd6c915834e7a15d90766b04db468
tree6932b16f4a7f1a33671146b8403945f5a7b4445d
parentf16c851625417b0bd5f7aef76b1e4d4cce2bafe6
MEDIUM: mux-quic: implement QMux receive

This patch implements a new function qcc_qstrm_recv() dedicated to the
new QMux protocol. It is responsible to perform data reception via
rcv_buf() callback. This is defined in a new mux_quic_strm module.

Read data are parsed in frames. Each frame is handled via standard
mux-quic functions. Currently, only STREAM and RESET_STREAM types are
implemented.

One major difference between QUIC and QMux is that mux-quic is passive
on the reception side on the former protocol. For the new one, mux-quic
becomes active. Thus, a new call to qcc_qstrm_recv() is performed via
qcc_io_recv().
Makefile
include/haproxy/mux_quic_qstrm.h [new file with mode: 0644]
src/mux_quic.c
src/mux_quic_qstrm.c [new file with mode: 0644]