]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http-ana: Use http replies for HTTP error messages
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 May 2020 12:16:29 +0000 (14:16 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 20 May 2020 16:27:14 +0000 (18:27 +0200)
commit8dfeccf6d3a2e3cabef1595f74bbd4501cca60bb
tree75ee57b1cc2bf06a75f4de8ad81aaa74fa7aee40
parent507479b09648b0c1e4ad0bfb5126dd3c1f32436c
MEDIUM: http-ana: Use http replies for HTTP error messages

When HAProxy returns an http error message, the corresponding http reply is now
used instead of the buffer containing the corresponding HTX message. So,
http_error_message() function now returns the http reply to use for a given
stream. And the http_reply_and_close() function now relies on
http_reply_message() to send the response to the client.
include/proto/http_ana.h
src/http_ana.c