commit | 018251667e4c95478ce0026f4d700e0420f8ce24 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Mar 09 09:53:46 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Mar 09 10:09:43 2021 +0100 |
tree | 4952e8617c27aca5fbf718626037d6bfc91ecb80 | |
parent | 82a92743fcbaf1f88b05f31ab8d2f7093157aad1 [diff] |
CLEANUP: config: make the cfg_keyword parsers take a const for the defproxy The default proxy was passed as a variable to all parsers instead of a const, which is not without risk, especially when some timeout parsers used to make some int pointers point to the default values for comparisons. We want to be certain that none of these parsers will modify the defaults sections by accident, so it's important to mark this proxy as const. This patch touches all occurrences found (89).