]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: split xfer and STREAM frames build
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 12 Apr 2022 09:41:04 +0000 (11:41 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 21 Apr 2022 07:27:43 +0000 (09:27 +0200)
commitda6ad2092ad6ccff0f0503984763ab88fcf7086d
treea637c0f18db7861d9d965cd21650ba8164112ee5
parentc69be7cd3c7914808e73477704fb86486ea82cb6
MINOR: mux-quic: split xfer and STREAM frames build

Split qcs_push_frame() in two functions.

The first one is qcs_xfer_data(). Its purpose is to transfer data from
qcs.tx.buf to qc_stream_desc buffer. The second function is named
qcs_build_stream_frm(). It generates a STREAM frame using qc_stream_desc
buffer as payload.

The trace events previously associated with qcs_push_frame() has also
been split in two to reflect the new code structure.

The purpose of this refactoring is first to better reflect how sending
is implemented. It will also simplify the implementation of Tx
multi-buffer per streams.
src/mux_quic.c