]> git.kaiwu.me - haproxy.git/commit
MINOR: server: respect warning and alert semantic
authorGaetan Rivet <grive@u256.net>
Tue, 11 Feb 2020 10:42:38 +0000 (11:42 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 07:39:37 +0000 (09:39 +0200)
commit10c4b4a7955cae69ed75022180167e74c198394f
tree19961f9b7ce6c1500d3eeb724b4123a1153d57ad
parent8acb1284bcd47301fce0aa45a7083dbcef94cb5f
MINOR: server: respect warning and alert semantic

Error codes ERR_WARN and ERR_ALERT are used to signal that the error
given is of the corresponding level. All errors are displayed as ALERT
in the display_parser_err() function.

Differentiate the display level based on the error code. If both
ERR_WARN and ERR_ALERT are used, ERR_ALERT is given priority.
src/server.c