commit | ab177ac1f31b5c6c2e4f7d023923dd668cce3076 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Mar 10 15:34:52 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Mar 12 16:43:37 2021 +0100 |
tree | 037cb31231c31fa3dea2f7f21039c3707e4e605f | |
parent | bca680ba90787fc57b9711e268f6fb0c74e7e49c [diff] |
BUG/MEDIUM: resolvers: Don't set an address-less server as UP when a server status is updated based on a SRV item, it is always set to UP, regardless it has an IP address defined or not. For instance, if only a SRV item is received, with no additional record, only the server hostname is defined. We must wait to have an IP address to set the server as UP. This patch must be backported as far as 2.2.