commit | 8dfeccf6d3a2e3cabef1595f74bbd4501cca60bb | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri May 15 14:16:29 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed May 20 18:27:14 2020 +0200 |
tree | 75ee57b1cc2bf06a75f4de8ad81aaa74fa7aee40 | |
parent | 507479b09648b0c1e4ad0bfb5126dd3c1f32436c [diff] |
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.