]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: pattern: Extract the index process from the pat_parse_*() functions
authorThierry FOURNIER <tfournier@exceliance.fr>
Fri, 6 Dec 2013 18:06:43 +0000 (19:06 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Dec 2013 14:42:11 +0000 (15:42 +0100)
commit7148ce6ef433cb46974f1241961f363027d0c013
tree04cebaf781085b16a8ad7d69e52359741e8ce7dc
parentf3489d2ccde3033d3cee3226c64d617c60acfc02
MEDIUM: pattern: Extract the index process from the pat_parse_*() functions

Now, the pat_parse_*() functions parses the incoming data. The input
"pattern" struct can be preallocated. If the parser needs to add some
buffers, it allocates memory.

The function pattern_register() runs the call to the parser, process
the key indexation and associate the "sample_storage" used by maps.
include/proto/pattern.h
include/types/acl.h
include/types/pattern.h
src/acl.c
src/map.c
src/pattern.c
src/proto_http.c