BUG/MINOR: resolvers: Consider server to have no IP on DNS resolution error
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 10 Mar 2021 14:39:16 +0000 (15:39 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Mar 2021 15:43:37 +0000 (16:43 +0100)
commitbd0227c1096ecc9e11da315c399b178b16ad7a9d
treecafb2ec710b4ae806def4187d7e324b8bdeba330
parent5037c06d91e0ed748932fcfaae11eeadf5949957
BUG/MINOR: resolvers: Consider server to have no IP on DNS resolution error

When an error is received for a DNS resolution, for instance a NXDOMAIN
error, the server must be considered to have no address when its status is
updated, not the opposite.

Concretly, because this parameter is not used on error path in
snr_update_srv_status(), there is no impact.

This patch must be backported as far as 1.8.
src/server.c