BUG/MINOR: http-ana: Matching on monitor-uri should be case-sensitive
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 18 Feb 2020 13:51:51 +0000 (14:51 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 21 Feb 2020 10:22:58 +0000 (11:22 +0100)
commit55646bd98eb38c5e54b53536732b984166f3b77b
tree35e64376ed03fecd1fbcac5ac66685759bce7f35
parente73360db32500430bccf3e6ca7d6f154725521d0
BUG/MINOR: http-ana: Matching on monitor-uri should be case-sensitive

The monitor-uri should be case-sensitive. In reality, the scheme and the host
part are case-insensitives and only the path is case-sensive. But concretely,
since the start, the matching on the monitor-uri is case-sensitive. And it is
probably the expected behavior of almost all users.

This patch must be backported as far as 1.9. For HAProxy 2.0 and 1.9, it must be
applied on src/proto_htx.c.

(cherry picked from commit d27689e952b09e1222c04b4cb238dbb5d797a5f2)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/http_ana.c