BUG/MINOR: rules: Increment be_counters if backend is assigned for a silent-drop
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Mar 2020 14:23:18 +0000 (15:23 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Mar 2020 14:36:04 +0000 (15:36 +0100)
commitddc005ae5783b6479292156b97db7b6fbdabf6a3
tree918311deba2412242bbecfa4436728a5030664f4
parentf573ba2033c9da0f2733f9dd7808b2237ec280b9
BUG/MINOR: rules: Increment be_counters if backend is assigned for a silent-drop

Backend counters must be incremented only if a backend was already assigned to
the stream (when the stream exists). Otherwise, it means we are still on the
frontend side.

This patch may be backported as far as 1.6.
src/proto_tcp.c