]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: resolvers: new callback to properly handle SRV record errors
authorBaptiste Assmann <bedis9@gmail.com>
Thu, 19 Nov 2020 21:38:33 +0000 (22:38 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 24 Feb 2021 20:58:45 +0000 (21:58 +0100)
commitb4badf720ce484001f606011aee7cd216e5ce4e3
treeda7194bf69b552292105345a59a89a43a7b08716
parenta331a1e8eb2ad4750711a477ca3e22d940495faf
BUG/MINOR: resolvers: new callback to properly handle SRV record errors

When a SRV record was created, it used to register the regular server name
resolution callbacks. That said, SRV records and regular server name
resolution don't work the same way, furthermore on error management.

This patch introduces a new call back to manage DNS errors related to
the SRV queries.

this fixes github issue #50.

Backport status: 2.3, 2.2, 2.1, 2.0
include/haproxy/server.h
src/resolvers.c
src/server.c