commit | 95c2c01ceded9432c0892f93beb8974797e36576 | [log] [tgz] |
---|---|---|
author | Baptiste Assmann <bedis9@gmail.com> | Tue Jun 11 14:51:49 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jun 14 14:18:55 2019 +0200 |
tree | a4dac783875dcc04603dd6e93788c7b614a4f0e0 | |
parent | 3b44c54129a4f8334834dda6344c512e76e883fa [diff] |
MEDIUM: server: server-state only rely on server name Since h7da71293e431b5ebb3d6289a55b0102331788ee6as has been added, the server name (srv->id in the code) is now unique per backend, which means it can reliabely be used to identify a server recovered from the server-state file. This patch cleans up the parsing of server-state file and ensure we use only the server name as a reliable key.