commit | 3c2ecf75c834b9c374f9fc8a46507f90b1f51f3f | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Feb 27 16:41:27 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 15 14:34:52 2019 +0100 |
tree | 6ef82b3c72ec0f98b2d3ed25217d2e94f60d44a1 | |
parent | 0ae79d0b0e41da73c0eab08bfc26d6d55ecee103 [diff] [blame] |
MINOR: stats: Add the status code STAT_STATUS_IVAL to handle invalid requests This patch must be backported to 1.9 because a bug fix depends on it.
diff --git a/src/proto_http.c b/src/proto_http.c index 4361d6d..0127e23 100644 --- a/src/proto_http.c +++ b/src/proto_http.c
@@ -84,6 +84,7 @@ [STAT_STATUS_NONE] = "NONE", [STAT_STATUS_PART] = "PART", [STAT_STATUS_UNKN] = "UNKN", + [STAT_STATUS_IVAL] = "IVAL", }; /* This function handles a server error at the stream interface level. The