MEDIUM: stick-table: handle arrays of standard types into stick-tables
authorEmeric Brun <ebrun@haproxy.com>
Wed, 30 Jun 2021 16:01:02 +0000 (18:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 6 Jul 2021 05:24:42 +0000 (07:24 +0200)
commitc64a2a307ccd304f0e5ee5a842b019cf6d4053b1
tree623e2654dd0f79686d33d031e9386bb971de7098
parent0e3457b63ac993f7619f74aad2cc05ef21835521
MEDIUM: stick-table: handle arrays of standard types into stick-tables

This patch provides the code to handle arrays of some
standard types (SINT, UINT, ULL and FRQP) in stick table.

This way we could define new "array" data types.

Note: the number of elements of an array was limited
to 100 to put a limit and to ensure that an encoded
update message will continue to fit into a buffer
when the peer protocol will handle such data types.
include/haproxy/errors.h
include/haproxy/stick_table-t.h
include/haproxy/stick_table.h
src/cfgparse.c
src/stick_table.c