]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-quic: simplify sending API
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 30 Jan 2024 10:23:48 +0000 (11:23 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 31 Jan 2024 15:28:54 +0000 (16:28 +0100)
commit3fe3251593e32c7ee07be94a193aea3a8eefb076
treec6a602678433187e443485f19cfe6cacdd3db13e
parent00a3e5f7869f3b23b674ac297b77b2a3af23ef64
MEDIUM: mux-quic: simplify sending API

The previous commit was a major rework for QUIC MUX sending process.
Following this, this patch cleans up a few elements that remains but can
be removed as they are duplicated.

Of notable changes, offset fields from QCS and QCC are removed. They are
both equivalent to flow control soft offsets.

A new function qcs_prep_bytes() is implemented. Its purpose is to return
the count of prepared data bytes not yet sent. It also replaces
qcs_need_sending().
include/haproxy/mux_quic-t.h
src/mux_quic.c
src/qmux_trace.c