MINOR: resolvers: Add function to change the srv status based on SRV resolution
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 11 Mar 2021 17:03:21 +0000 (18:03 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 9 Apr 2021 14:02:30 +0000 (16:02 +0200)
commit3a209b7806570afff800b01dbd5a3aca8b3be278
tree9163a0ddd9e2ca12c7cdd92e25775ef2ba8eb855
parent475f1afd61a871a6bdafb14e32e9d44db893053c
MINOR: resolvers: Add function to change the srv status based on SRV resolution

srvrq_update_srv_status() update the server status based on result of SRV
resolution. For now, it is only used from snr_update_srv_status() when
appropriate.

(cherry picked from commit 5efdef24c1753d7a68d1f6c8dc8cb6b4b84a3361)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 6d70368ab146925a9b2eae3963c5d92c00abe05d)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit d938bd528e3fa172f984cec4b8d7ae92dbb908a6)
[cf: Must be backported as far as 2.0 because of recent changes on resolvers]
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/proto/server.h
src/server.c