]> git.kaiwu.me - haproxy.git/commit
MINOR: quic: refactor frame encoding
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 30 Mar 2026 12:11:17 +0000 (14:11 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 2 Apr 2026 12:02:04 +0000 (14:02 +0200)
commit011b085803d142514d7a432d020e0b1894b21052
tree3dcea8799f2df4d8c35fb2c50268ad92756b16fd
parent48e41e4ce0ef27af4251732899fda0ea6f901e34
MINOR: quic: refactor frame encoding

This patch is a direct follow-up of the previous one. This time,
refactoring is performed on qc_build_frm() which is used for frame
encoding.

Function prototype has changed as now packet argument is removed. To be
able to check frame validity with a packet, one can use the new parent
function qc_build_frm_pkt() which relies on qc_build_frm().

As with the previous patch, there is no function change expected. The
objective is to facilitate a future QMux implementation.
include/haproxy/quic_frame.h
src/quic_frame.c
src/quic_tx.c