CLEANUP: server: Use a local eb-tree to store lines of the global server-state file
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Feb 2021 15:53:51 +0000 (16:53 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 25 Feb 2021 09:02:39 +0000 (10:02 +0100)
commit8b4b6a0d63c5b95d51c9502e38a0ef04f3445535
tree827b265fefbab1bfd70b82e597a0f75dc626d5d7
parent6d87c58fb429d54ddb96c522a9d6f545185f239c
CLEANUP: server: Use a local eb-tree to store lines of the global server-state file

There is no reason to use a global variable to store the lines of the global
server-state file. This tree is only used during the file parsing, as a line
cache. Now the eb-tree is declared as a local variable in the
apply_server_state() function.
src/server.c