MEDIUM: sample: Add fetch for arbitrary TLVs
authorAlexander Stephan <alexander.stephan@sap.com>
Wed, 16 Aug 2023 13:53:51 +0000 (15:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Aug 2023 13:31:28 +0000 (15:31 +0200)
commitf773ef721ca6424c25fe7da77a92f724572d518f
tree2b0cf68c3ac5c52da4bde344d0215f001d672de2
parentfecc573da18702557ab4bd9d25f10af71ef97596
MEDIUM: sample: Add fetch for arbitrary TLVs

Based on the new, generic allocation infrastructure, a new sample
fetch fc_pp_tlv is introduced. It is an abstraction for existing
PPv2 TLV sample fetches. It takes any valid TLV ID as argument and
returns the value as a string, similar to fc_pp_authority and
fc_pp_unique_id.
doc/configuration.txt
reg-tests/sample_fetches/tlvs.vtc [new file with mode: 0644]
src/connection.c