MINOR: server: Move loading state of servers in a dedicated function
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 16 Feb 2021 10:30:47 +0000 (11:30 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 25 Feb 2021 09:02:39 +0000 (10:02 +0100)
commit2c1db104fb8bb4544981e19f14a47fe9e12be9af
treefdd1caa44406236746f5cfc20631dc9811f49314
parentf4d1da90c2e85a1dfd36c87bbcd724ca8b1e2970
MINOR: server: Move loading state of servers in a dedicated function

The loop on the servers of a proxy to load the server states was moved in
the function srv_state_px_update(). This simplify a bit the
apply_server_state() function. It is aslo mandatory to simplify the loading
of local server-state file.
src/server.c