commit | 07ecff589d5e67eacfacfe62bccd70ea825b8bc0 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu Jun 24 15:33:52 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Jun 24 17:22:36 2021 +0200 |
tree | 21994498b88c5bccf29504e81e6b71c2d65cdb40 | |
parent | a8ce497aacd6871c6056baf5a30e04f021956a5c [diff] |
MINOR: resolvers: Reset server IP on error in resolv_get_ip_from_response() If resolv_get_ip_from_response() returns an error (or an unexpected return value), the server is set to RMAINT status. However, its address must also be reset. Otherwise, it is still reported by the cli on "show servers state" commands. This may be confusing. Note that it is a theorical patch because this code path does not exist. Thus it is not tagged as a BUG. This patch may be backported as far as 2.0.