BUG/MINOR: peers: detect and warn on init_addr/resolvers/check/agent-check
authorWilly Tarreau <w@1wt.eu>
Tue, 31 May 2022 07:42:44 +0000 (09:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 May 2022 07:42:44 +0000 (09:42 +0200)
commit824c8c5999c6df685d1cd043601a4d3ef0f950b9
treeb9b57994a74259107045c2821766b70470b5f973
parent245721b329721e862f34cebf6cf355694df31cb0
BUG/MINOR: peers: detect and warn on init_addr/resolvers/check/agent-check

Some server keywords are currently silently ignored in the peers
section, which is not good because it wastes time on user-side, trying
to make something work while it cannot by design.

With this patch we at least report a few of them (the most common ones),
which are init_addr, resolvers, check, agent-check. Others might follow.

This may be backported to 2.5 to encourage some cleaning of bogus configs.
src/cfgparse.c