]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http-ana: Rely on http_reply_and_close() to handle server error
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Jan 2020 14:32:25 +0000 (15:32 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 6 Feb 2020 13:55:34 +0000 (14:55 +0100)
commit72c7d8d040f3b476808580ecbae422a1b50b9662
tree2e45373980daee1c5a3afbe79c973902e668c677
parent60b33a5a625cdc8e956d4f43aca5ab795240be33
MINOR: http-ana: Rely on http_reply_and_close() to handle server error

The http_server_error() function now relies on http_reply_and_close(). Both do
almost the same actions. In addtion, http_server_error() sets the error flag and
the final state flag on the stream.
include/proto/http_ana.h
src/http_ana.c