BUG/MINOR: resolvers: Add missing case-insensitive comparisons of DNS hostnames
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 16 Mar 2021 10:21:04 +0000 (11:21 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 18 Mar 2021 08:23:21 +0000 (09:23 +0100)
commitf9c7675a74623f68cc0315bed83aa0b32c2a20a0
tree83d51a26bf80f789743e3dd00f9224ef5d1e6ae1
parenta91170cff48299c390bda6723c71ff9426b1d707
BUG/MINOR: resolvers: Add missing case-insensitive comparisons of DNS hostnames

DNS hostname comparisons were fixed to be case-insensitive (see b17b88487
"BUG/MEDIUM: dns: Consider the fact that dns answers are
case-insensitive"). However 2 comparisons are still case-sensitive.

This patch must be backported as far as 1.8.

(cherry picked from commit 59b29257338f8e7fb6def6bddda45d08651ffe1c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit d31f6942249989e415bf9524ae2835180a32bbad)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit e31b387c6955e792f1814b137e1593658fbc3c21)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/server.c