commit | 3ebe4d989cf2fdac8601e3dc0d3dd592e013c4ba | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Feb 18 14:51:49 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Feb 23 17:11:33 2022 +0100 |
tree | a84f9932a172f10611bcf8fbf2e30e1b7daf6053 | |
parent | ef301b75566cc4a45e39e27380811b780050f378 [diff] |
MEDIUM: initcall: move STG_REGISTER earlier The STG_REGISTER init level is used to register known keywords and protocol stacks. It must be called earlier because some of the init code already relies on it to be known. For example, "haproxy -vv" for now is constrained to start very late only because of this. This patch moves it between STG_LOCK and STG_ALLOC, which is fine as it's used for static registration.