]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: realign Tx buffer if possible
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 17 Jan 2024 15:01:00 +0000 (16:01 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 31 Jan 2024 15:28:54 +0000 (16:28 +0100)
commit4b5f55728352976e6fe39d92d5b365e8e60a7316
tree72a1d285c15b780d9ec7caadca151e85aaad9758
parent4513787d0d5b85da1cd94adaef44f3a5d8259eef
MINOR: mux-quic: realign Tx buffer if possible

A major reorganization of QUIC MUX sending has been implemented. Now
data transfer occur over a single QCS buffer. This has improve
performance but at the cost of restrictions on snd_buf. Indeed, buffer
instances are now shared from stream callback snd_buf up to quic-conn
layer.

As such, snd_buf cannot manipulate freely already present data buffer.
In particular, realign has been completely removed by the previous
patches.

This commit reintroduces a partial realign support. This is only done if
the buffer contains only unsent data, via a new MUX function
qcc_realign_stream_txbuf() which is called during snd_buf.
include/haproxy/mux_quic.h
src/h3.c
src/mux_quic.c