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>
Tue, 16 Mar 2021 08:37:37 +0000 (09:37 +0100)
commit6d70368ab146925a9b2eae3963c5d92c00abe05d
tree794dd1f01b694df0db2c96177fa5818a9feaf785
parent720ed09b491f5005741115bd36855e05deb99481
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>
include/haproxy/server.h
src/server.c