]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stconn: Add support for flags during zero-copy forwarding negotiation
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 24 Jan 2024 10:12:05 +0000 (11:12 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 7 Feb 2024 14:04:29 +0000 (15:04 +0100)
commit2297f52734723fab08b5a953ae62c2c64999c9ff
tree6d9e5e12e3416f008f0913907d0599535b5a96be
parentc061ba30f7fe306532fb851df63e2d44718d4d8f
MINOR: stconn: Add support for flags during zero-copy forwarding negotiation

During zero-copy forwarding negotiation, a pseudo flag was already used to
notify the consummer if the producer is able to use kernel splicing or not. But
this was not extensible. So, now we use a true bitfield to be able to pass flags
during the negotiation. NEGO_FF_FL_* flags may be used now.

Of course, for now, there is only one flags, the kernel splicing support on
producer side (NEGO_FF_FL_MAY_SPLICE).
include/haproxy/stconn-t.h
include/haproxy/stconn.h
src/applet.c
src/mux_h1.c
src/mux_h2.c
src/mux_pt.c
src/mux_quic.c