]> git.kaiwu.me - haproxy.git/commit
MEDIUM: haterm: Prepare support for splicing by initializing a master pipe
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 2 Apr 2026 19:31:53 +0000 (21:31 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Apr 2026 08:46:15 +0000 (10:46 +0200)
commit70a7f8dce0b4134ad5fca7aff8244b76cac1888a
tree60e4846d173d3a3ca097789c44556a9bc0070304
parentecf36f2ca897aacdbc6f03f89387198164ba1750
MEDIUM: haterm: Prepare support for splicing by initializing a master pipe

Now the zero-copy data forwarding is supported, we will add the splicing
support. To do so, we first create a master pipe with vmsplice() during
haterm startup. It is only performed if the splicing is supported. And its
size can be configured by setting "tune.pipesize" global parameter.

This master pipe will be used to fill the pipe with the client.
src/haterm.c
src/haterm_init.c