]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: haterm: preserve the pipe size margin for splicing
authorWilly Tarreau <w@1wt.eu>
Mon, 13 Apr 2026 16:32:25 +0000 (18:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 13 Apr 2026 16:37:04 +0000 (18:37 +0200)
commit6d16b11022772a21cfae158dfbe8c4f88bb78b2f
treeae7cfa43c8521b1d14a893c18a43be3ea1505f7d
parent61f04d195194f4444aeed1963b5f626e291dd9c9
BUG/MINOR: haterm: preserve the pipe size margin for splicing

Originally in httpterm we used to allocate 5/4 of the size of a pipe to
permit to use vmsplice because there's some fragmentation or overhead
internally that requires to use a bit of margin. While this was initially
applied to haterm as well, it was accidentally lost with commit fb82dece47
("BUG/MEDIUM: haterm: Properly initialize the splicing support for haterm"),
resulting in errors about vmsplice() whenever tune.pipesize is set. Let's
enforce the ratio again.

No backport is needed.
src/haterm.c