]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stconn: Nofify requested size during zero-copy forwarding nego is exact
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 25 Jan 2024 13:52:08 +0000 (14:52 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 7 Feb 2024 14:04:38 +0000 (15:04 +0100)
commit1c18d32a0dc76f16815c84a80e17e262a9e66bea
tree48eb32925185a4f11d17743d69c17e3d6b48b582
parentfe506d7aaa9bc062b44b0fc2dccb17a860e129b3
MEDIUM: stconn: Nofify requested size during zero-copy forwarding nego is exact

It is now possible to use a flag during zero-copy forwarding negotiation to
specify the requested size is exact, it means the producer really expect to
receive at least this amount of data.

It can be used by consumer to prepare some processing at this stage, based
on the requested size. For instance, in the H1 mux, it is used to write the
next chunk size.
include/haproxy/stconn-t.h
src/applet.c
src/mux_h1.c