]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pattern: Each pattern is identified by unique id.
authorThierry FOURNIER <tfournier@exceliance.fr>
Tue, 11 Mar 2014 13:29:22 +0000 (14:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 17 Mar 2014 17:06:07 +0000 (18:06 +0100)
commitaf5a29d5f880c043d943c35b3c194eeb35c050e1
treed46df7a7b4eeb0c81059f3c7b868b5e0f0dd5b05
parent5d344087856e9c7b324afeb635835fcbd4f797b4
MINOR: pattern: Each pattern is identified by unique id.

The pattern reference are stored with two identifiers: the unique_id and
the reference.

The reference identify a file. Each file with the same name point to the
same reference. We can register many times one file. If the file is
modified, all his dependencies are also modified. The reference can be
used with map or acl.

The unique_id identify inline acl. The unique id is unique for each acl.
You cannot force the same id in the configuration file, because this
repport an error.

The format of the acl and map listing through the "socket" has changed
for displaying these new ids.
include/proto/pattern.h
include/types/pattern.h
src/acl.c
src/dumpstats.c
src/haproxy.c
src/pattern.c