]> git.kaiwu.me - haproxy.git/commit
[MEDIUM] Create new protected pattern types CONSTSTRING and CONSTDATA to force memcpy...
authorEmeric Brun <ebrun@exceliance.fr>
Thu, 23 Sep 2010 16:02:19 +0000 (18:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Nov 2010 08:29:07 +0000 (09:29 +0100)
commit485479d8e9e7c20d73a3249d28de985828ce5b68
tree29f9765d363dc6a8bd3632a08a3844828884803a
parent392d1d8b89d1f6e43d287a92d342e6edb59442b5
[MEDIUM] Create new protected pattern types CONSTSTRING and CONSTDATA to force memcpy if data from protected areas need to be manipulated.

Enhance pattern convs and fetch argument parsing, now fetchs and convs callbacks used typed args.
Add more details on error messages on parsing pattern expression function.
Update existing pattern convs and fetchs to new proto.
Create stick table key type "binary".
Manage Truncation and padding if pattern's fetch-converted result don't match table key size.
include/proto/pattern.h
include/proto/stick_table.h
include/types/pattern.h
include/types/stick_table.h
src/cfgparse.c
src/pattern.c
src/proto_http.c
src/proto_tcp.c
src/session.c
src/stick_table.c