]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: applet: Add callback function to deal with zero-copy forwarding
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 23 Jan 2024 06:51:24 +0000 (07:51 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 7 Feb 2024 14:03:57 +0000 (15:03 +0100)
commit62a81cb6a6d1a735b9d48a17fb57d98a55c2bbde
tree7cc20443054d0175c266263912ebda4356d116bb
parent7ec544b217f6005629c71f6e5cc2bfd850451bb1
MINOR: applet: Add callback function to deal with zero-copy forwarding

This patch introduces the support for the callback function responsible to
produce data via the zero-copy forwarding mechanism. There is no
implementation for now. But <to_forward> field was added in the appctx
structure to let an applet inform how much data it want to forward. It is
not mandatory but it will be used during the zero-copy forwarding
negociation.
include/haproxy/applet-t.h
src/applet.c