BUG/MINOR: sample: fix backend direction flags consecutive to last fix
authorWilly Tarreau <w@1wt.eu>
Sat, 16 Oct 2021 12:41:09 +0000 (14:41 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Nov 2021 15:34:06 +0000 (16:34 +0100)
commit6790780d328d7e1b487aba6ab756b56593a8ecec
tree9121d88ec5918606650f8d517ffb854376609ba9
parent5793af79182af4bfefeb9918659374b469228d4e
BUG/MINOR: sample: fix backend direction flags consecutive to last fix

Commit 7a06ffb85 ("BUG/MEDIUM: sample: Cumulate frontend and backend
sample validity flags") introduced a typo confusing the request and
the response direction when checking for validity of a rule applied
to a backend. This was reported by Coverity in issue #1417.

This needs to be backported where the patch above is backported.

(cherry picked from commit b39e47a52b19e7b62727393f9b8e8bd36330b550)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit ad745105a7dbecdb73b9ced304c65b93f854079b)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/http_htx.c