]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h1/mux-h2/mux-fcgi/h3: Disable 0-copy for buffers of different size
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 3 Feb 2026 06:55:31 +0000 (07:55 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 18 Feb 2026 12:26:21 +0000 (13:26 +0100)
commit36282ae348a70230d7b22a2fa714590cb9090106
tree95524652825cdfc6ea18a9da670802c222ecafb0
parentf82ace414b0388745df2018b71c2313d4b41fe46
MEDIUM: mux-h1/mux-h2/mux-fcgi/h3: Disable 0-copy for buffers of different size

Today, it is useless to check the buffers size before performing a 0-copy in
muxes when data are sent, but it will be mandatory when the large buffers
support on channels will be added. Indeed, muxes will still rely on normal
buffers, so we must take care to never swap buffers of different size.
src/h3.c
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c