]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: checks: Support list of status codes on http-check expect rules
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 24 Apr 2020 11:53:12 +0000 (13:53 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 08:46:28 +0000 (10:46 +0200)
commit8021a5f4a594497f0cbf6e232e24354271027aeb
tree746f42f730e83d06d4d06bb7fe20861c2ad1afc3
parentbb86a0f7be6ba8a248321a59c4b865e01e33f106
MINOR: checks: Support list of status codes on http-check expect rules

It is now possible to match on a comma-separated list of status codes or range
of codes. In addtion, instead of a string comparison to match the response's
status code, a integer comparison is performed. Here is an example:

  http-check expect status 200,201,300-310
doc/configuration.txt
include/types/checks.h
src/checks.c