]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: resolvers: Directly call srvrq_update_srv_state() when possible
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 11 Mar 2021 17:06:23 +0000 (18:06 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Mar 2021 16:41:28 +0000 (17:41 +0100)
commit6b117aed492d9916a5c656b4fbfcac6159133c0f
treef1c11fd2f0ccca1c62e5c676681fe890a700e877
parent5efdef24c1753d7a68d1f6c8dc8cb6b4b84a3361
MINOR: resolvers: Directly call srvrq_update_srv_state() when possible

When the server status must be updated from the result of a SRV resolution,
we can directly call srvrq_update_srv_state(). It is simpler and this avoid
a test on the server DNS resolution.

This patch is mandatory for the next commit. It also rely on "MINOR:
resolvers: Directly call srvrq_update_srv_state() when possible".
src/resolvers.c
src/server.c