]> git.kaiwu.me - haproxy.git/commit
MEDIUM: mux-quic: implement QMux record parsing
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 8 Apr 2026 08:31:57 +0000 (10:31 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 10 Apr 2026 08:20:52 +0000 (10:20 +0200)
commit5271cdaca3f14c8750b3da2f4cee0adc91750d66
treef82bfaaa82850e5ab693b5470737a0a2eacaa922
parent10f2867dc27ea30bf5439a54318a2f8387a705fa
MEDIUM: mux-quic: implement QMux record parsing

This is the first patch of a serie which aims to support the new Record
layer defined by the draft 01 of QMux protocol.

  https://www.ietf.org/archive/id/draft-ietf-quic-qmux-01.html#name-qmux-records

This patch deals with QMux reception at the MUX layer. The function
qcc_qstrm_recv() is adapted to read record headers before frame parsing.
This requires to keep the last record length read in a new QCC field
named <rx.rlen>.

Frames are only parsed once a full record is received. One of the
advantage of the record layer is that it can only contains whole frame
without truncation.
include/haproxy/mux_quic-t.h
src/mux_quic_qstrm.c