]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: pattern: add an argument validation callback to pattern descriptors
authorWilly Tarreau <w@1wt.eu>
Fri, 20 Apr 2012 13:52:36 +0000 (15:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2012 18:57:13 +0000 (20:57 +0200)
commit21d68a68953a1d03a7e881bc5586e908fbf38404
tree10d3d83125fcde0c4c33d1e0cb05d89f923570c3
parent9fcb984b174671d6913b3c4698847a3d33b063d2
MEDIUM: pattern: add an argument validation callback to pattern descriptors

This is used to validate that arguments are coherent. For instance,
payload_lv expects that the last arg (if any) is not more negative
than the sum of the first two. The error is reported if any.
include/types/pattern.h
src/pattern.c
src/proto_http.c
src/proto_tcp.c