]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http-htx: Store errorloc/errorfile messages in http replies
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 14 May 2020 15:31:52 +0000 (17:31 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 20 May 2020 16:27:13 +0000 (18:27 +0200)
commit5809e10b488cce2924d6c09b6680fc41625b7106
tree5b60fa5beeb3c9445010aac8e57d172de237f0d4
parentde30bb72456d7f89b46ff39739141d5f3315fe43
MINOR: http-htx: Store errorloc/errorfile messages in http replies

During configuration parsing, error messages resulting of parsing of errorloc
and errorfile directives are now also stored as an http reply. So, for now,
these messages are stored as a buffer and as an http reply. To be able to
release all these http replies when haproxy is stopped, a global list is
used. We must do that because the same http reply may be referenced several
times by different proxies if it is defined in a default section.
include/types/http_htx.h
src/http_htx.c