]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: resolvers/mworker: missing default resolvers in mworker mode
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 17 Oct 2024 10:17:23 +0000 (12:17 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 17 Oct 2024 10:17:23 +0000 (12:17 +0200)
commit5184f3fb30a4ee290bc43e67809bb64538eb2cc4
treead15d7fd400ca479eb030ee9770a4cff358ef4f0
parentfdbff3a02083c398b895ac198f22deeb5c042dc6
BUG/MINOR: resolvers/mworker: missing default resolvers in mworker mode

Since commit fe75c1e12da061 ("MEDIUM: startup: remove
MODE_MWORKER_WAIT") the MODE_MWORKER_WAIT constant disappeared. The
initialization of the default resolvers section was conditionned by this
constant.

The section must be created in mworker mode, but only in the worker not in
the master. It was currently completely disabled in both the master and
the worker which could break configuration using it, as well as the
httpclient.

No backport needed.
src/resolvers.c