]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux_h1/mux_pt: Use XPRT_CAN_SPLICE to decide if we should splice
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 13 Aug 2025 13:39:46 +0000 (13:39 +0000)
committerOlivier Houchard <cognet@ci0.org>
Wed, 20 Aug 2025 16:33:10 +0000 (18:33 +0200)
commit075e75380235e2898989cfa50d80a402323d8125
tree092ebe7f07ca283450ae54f22b196d76639f3863
parent5731b8a19c7fddf18da56f93c23fa23045b6d4b0
MEDIUM: mux_h1/mux_pt: Use XPRT_CAN_SPLICE to decide if we should splice

In both mux_h1 and mux_pt, use the new XPRT_CAN_SPLICE capability to
decide if we should attempt to use splicing or not.
If we receive XPRT_CONN_CAN_MAYBE_SPLICE, add a new flag on the
connection, CO_FL_WANT_SPLICING, to let the xprt know that we'd love to
be able to do splicing, so that it may get ready for that.
This should have no effect right now, and is required work for adding
kTLS support.
include/haproxy/connection-t.h
src/mux_h1.c
src/mux_pt.c