[MEDIUM] acl: implement matching on header values
authorWilly Tarreau <w@1wt.eu>
Sun, 10 Jun 2007 17:45:56 +0000 (19:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 10 Jun 2007 17:45:56 +0000 (19:45 +0200)
commit33a7e6901fb8eac0c84c1c4aa6fef2bf0da53757
tree5fbf034bb11a1242e70250d686b0c7ef5e753d08
parent97be145991e1adb1ded0b5488ccacf1a7ca099ce
[MEDIUM] acl: implement matching on header values

hdr(x), hdr_reg(x), hdr_beg(x), hdr_end(x), hdr_sub(x), hdr_dir(x),
hdr_dom(x), hdr_cnt(x) and hdr_val(x) have been implemented. They
apply to any of the possibly multiple values of header <x>.

Right now, hdr_val() is limited to integer matching, but it should
reasonably be upgraded to match long long ints.
include/types/acl.h
include/types/proto_http.h
src/proto_http.c