]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http_act: check status codes against the bit fields for err/fail
authorWilly Tarreau <w@1wt.eu>
Wed, 10 Jan 2024 17:44:30 +0000 (18:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jan 2024 14:10:08 +0000 (15:10 +0100)
commit9d827e10497a57623e903e0be41fe9b02efb5da5
tree794042be9ccae3d7cbd0afe6d8d2510c72e104f6
parent3c135569c54d3e0c4b9303974ef3d910d0b5de1a
MEDIUM: http_act: check status codes against the bit fields for err/fail

This drops the hard-coded 4xx and 5xx status codes for err_cnt and
fail_cnt, in favor of the new bit fields that will soon be configurable.
There should be no difference at all since the bit fields are initialized
to the exact same sets (400-499 for err, 500-599 minus 501 and 505 for
fail).
src/http_act.c
src/http_ana.c