]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http-act: Set stream error flag before returning an error
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 7 Feb 2020 09:22:31 +0000 (10:22 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 7 Feb 2020 09:37:53 +0000 (10:37 +0100)
commit692a6c2e69fb33e4fc3c783ec9b688cda5a76956
treec65c38ef2c313a4b6524a5f6d5893d86edbf35f1
parentf9beea52da07687724374214c38932f6424de70d
BUG/MINOR: http-act: Set stream error flag before returning an error

In action_http_set_status(), when a rewrite error occurred, the stream error
flag must be set before returning the error.

No need to backport this patch except if commit 333bf8c33 ("MINOR: http-rules:
Set SF_ERR_PRXCOND termination flag when a header rewrite fails") is
backported. This bug was reported in issue #491.
src/http_act.c