]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: resolvers: return the correct value in resolvers_finalize_config()
authorWilliam Lallemand <wlallemand@haproxy.org>
Wed, 24 Aug 2022 07:58:31 +0000 (09:58 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 24 Aug 2022 08:11:17 +0000 (10:11 +0200)
commit866b88bc95d19c06633fc57a577e5aaf57baf23c
tree76798ae55f0951521c5a146672391ac5f8bd2125
parent02fd3caa8f042a95418fcc27ac080415eb00d0f5
BUG/MINOR: resolvers: return the correct value in resolvers_finalize_config()

Patch c31577f ("MEDIUM: resolvers: continue startup if network is
unavailable") was not working correctly. Indeed
resolvers_finalize_config() was returning a ERR type, but a postparser
is supposed to return 0 or 1.

The return value was never right, however it was only a problem since c31577f.

Must be backported in every stable branch.
src/resolvers.c