]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: hq-interop: use zero-copy to transfer single HTX data block
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 8 Dec 2023 14:52:00 +0000 (15:52 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 12 Dec 2023 09:31:22 +0000 (10:31 +0100)
commitf8e095b05828b8c82a01e37a18ea33e581e55431
tree9421eed3381afeb090ee6003d38d4dd1e70dce6e
parentd3987b69c3d15bc429751ed23c764adc988cd467
MINOR: hq-interop: use zero-copy to transfer single HTX data block

Similarly to H3, hq-interop now uses zero-copy when dealing with a HTX
message with only a single data block. Exchange HTX and QCS buffer, and
use the HTX data block for HTTP payload. This is only possible if QCS
buffer is empty. Contrary to HTTP/3, no extra frame header is needed
before transferring HTTP payload.

hq-interop is only implemented for testing purpose so this change should
not be noticeable by users. However, it will be useful to be able to
test zero-copy transfer on QUIC interop testing.
src/hq_interop.c