]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: cfgparse: keep a single "curproxy"
authorWilly Tarreau <w@1wt.eu>
Tue, 1 Aug 2023 09:18:00 +0000 (11:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 1 Aug 2023 09:31:39 +0000 (11:31 +0200)
commitbbc3e4463e1e745ed4f9d9e2a45be5bd48b6365b
tree6d13f148deff06841d884ec7130684080169d5b3
parent7fccccccead650373de04d416754d47ed1b5c6ba
BUILD: cfgparse: keep a single "curproxy"

Surprisingly, commit 00e00fb42 ("REORG: cfgparse: extract curproxy as a
global variable") caused a build breakage on the CI but not on two
developers' machines. It looks like it's dependent on the linker version
used. What happens is that flt_spoe.c already has a curproxy struct which
already is a copy of the one passed by the parser because it also needed
it to be exported, so they now conflict. Let's just drop this unused copy.
src/cfgparse.c
src/flt_spoe.c