]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cfgparse: fix *thread keywords sensitive to global section position
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Tue, 15 Oct 2024 13:21:47 +0000 (15:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Oct 2024 20:02:39 +0000 (22:02 +0200)
commit223caab96fb02d2169f8ed7fa16a54167873c0d8
treeb7942cdbff49981727abe754a8bebdc89c815da6
parent0ed262d7bf2b628d620886175605e74d94ec1aa2
MINOR: cfgparse: fix *thread keywords sensitive to global section position

*thread keywords parsers are sensitive to global section position. If they are
present there, the global section must be the first section in the
configuration. *thread parsers logic is based on non_global_section_parsed
counter. So, we need to reset it explicitly before the second configuration
read done by worker or in a standalone mode.
src/haproxy.c