]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: hq-interop: skip zero-copy with large buffers
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 16 Nov 2026 14:15:29 +0000 (15:15 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 16 Nov 2026 16:45:49 +0000 (17:45 +0100)
commit7047e6f4718ca3d2c9b6a2cea22ded64c8d4d308
tree3d17d391b0d1f47f83c0b0ca54916c009fd95224
parent7e7b0d2a3486fb9bd2e46a3a3c05f642b02d5436
BUG/MINOR: hq-interop: skip zero-copy with large buffers

Large buffers were introduced in 3.4. They may be used in channels while
muxes continue to rely on normal-sized objects. In this case, zero-copy
must be disabled when sending data.

Most muxes were adapted but the hq-interop layer was forgotten. This
patch fixes this by adding a similar check to the one already present in
HTTP/3.

This must be backported up to 3.4.
src/hq_interop.c