commit | 4215d7d0336b40e934bb30f4524d4bbe58a8a5f6 | [log] [tgz] |
---|---|---|
author | Baptiste Assmann <bedis9@gmail.com> | Wed Nov 02 15:33:15 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Nov 09 14:24:20 2016 +0100 |
tree | eae2aa1f772bd55f5a5ec1d0b7938c674403c579 | |
parent | ceccdd78a716ec4624a72432308323dcb4744146 [diff] |
MINOR: init: move apply_server_state in haproxy.c before MODE_CHECK Currently, the function which applies server states provided by the "old" process is applied after configuration sanity check. This results in the impossibility to check the validity of the state file during a regular config check, implying a full start is required, which can be a problem sometimes. This patch moves the loading of server_state file before MODE_CHECK.