]> git.kaiwu.me - haproxy.git/commit
MEDIUM: mux-h1: Add support of the kernel TCP splicing to forward data
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 2 Oct 2018 13:59:23 +0000 (15:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 21:08:53 +0000 (22:08 +0100)
commit1be55f9eb28942f75e4381e87b4c5ddcc6e8ea31
treed9041920d198af1700b00292eb58609afc26d141
parentf2824e6e107d8f87b5d780c38c7629abad5d6985
MEDIUM: mux-h1: Add support of the kernel TCP splicing to forward data

The mux relies on the flag CO_RFL_BUF_FLUSH during a call to h1_rcv_buf to know
if it needs to stop reads and to flush its internal buffers to use kernel tcp
splicing. It is the caller responsibility (here the SI) to know when it must
come back on buffered exchanges.
src/mux_h1.c