]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: server: Add parser support for set-proxy-v2-tlv-fmt
authorAlexander Stephan <alexander.stephan@sap.com>
Sat, 28 Oct 2023 18:51:26 +0000 (20:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 4 Nov 2023 03:56:59 +0000 (04:56 +0100)
commit6f4bfed3a21b29d5b8037b58a7831082fc9a601a
tree31d9f2ccf13b925d0f8d4ba3c41a921efbee6bc4
parent2d213b268ee7a2da3c3063c547a9f4c20b77fa7b
MINOR: server: Add parser support for set-proxy-v2-tlv-fmt

This commit introduces a generic server-side parsing of type-value pair
arguments and allocation of a TLV list via a new keyword called
set-proxy-v2-tlv-fmt.

This allows to 1) forward any TLV type with the help of fc_pp_tlv,
2) generally, send out any TLV type and value via a log format expression.
To have this fully working the connection will need to be updated in
a follow-up commit to actually respect the new server TLV list.

default-server support has also been implemented.
include/haproxy/server-t.h
src/server.c