MEDIUM: proto_htx: Convert all HTTP error messages into HTX
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 29 Nov 2018 15:48:49 +0000 (16:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:37:27 +0000 (17:37 +0100)
commita7b677cd0deee4a471e2985e304837bf642762b9
treeb716572f8f28661af352d7b05aaf7e7d282b7d01
parent99daf28a76519fd3db6d9794a1e04ac8b980eaa5
MEDIUM: proto_htx: Convert all HTTP error messages into HTX

During startup, after the configuration parsing, all HTTP error messages
(errorloc, errorfile or default messages) are converted into HTX messages and
stored in dedicated buffers. We use it to return errors in the HTX analyzers
instead of using ugly OOB blocks.
include/common/http.h
include/proto/http_htx.h
include/proto/proto_http.h
src/http.c
src/http_htx.c
src/proto_http.c
src/proto_htx.c