commit | 9394a9444e6c4af060f7d116189f53633c6100ca | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Mon Mar 08 11:20:52 2021 +0100 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Mar 18 15:37:05 2021 +0100 |
tree | 53701be0e031d466867ff900a205ade2958eea0f | |
parent | a8f442e0785c9dc13343ca146ad7e929dfb71468 [diff] |
REORG: server: move alert traces in parse_server Move every ha_alert calls in parsing functions into parse_server. Parsing functions now support a pointer-to-string argument which will be allocated with an error message if needed via memprintf. parse_server has then the responsibility to display errors with ha_alert. This is groundwork for dynamic server. No traces should be printed on stderr as a response to a cli command. cli_err will replace ha_alert in this case.