]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: rules: Return ACT_RET_ABRT when a silent-drop action is executed
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Mar 2020 14:15:49 +0000 (15:15 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Mar 2020 14:36:04 +0000 (15:36 +0100)
commitf573ba2033c9da0f2733f9dd7808b2237ec280b9
tree2acbffa4d588053825ada404729d5d49617d3f12
parent177f480f2c5b6a73b148a7069a71ddbff3e9f6a6
BUG/MINOR: rules: Return ACT_RET_ABRT when a silent-drop action is executed

When an action interrupts a transaction, returning a response or not, it must
return the ACT_RET_ABRT value and not ACT_RET_STOP. ACT_RET_STOP is reserved to
stop the processing of the current ruleset.

No backport needed because on previous versions, the action return values are
not handled the same way.
src/proto_tcp.c