BUG/MINOR: stream: properly clear the previous error mask on L7 retries
The cleanup of the previous error was incorrect on L7 retries, it would
OR two values while they're part of an enum, leaving some bits set.
Depending on the errors it was possible to occasionally see an internal
error ("I" flag) being logged.
This should be backported as far as 2.0, though the do_l7_retry() function
in in proto_htx.c in older versions.
(cherry picked from commit 75a4284babf50feecac17f9b32d07509b6c519ed)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 77ec58de4723f7b77bfb024c2f68e445e96a042a)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 57905228a8d24ed5db605c14c47d6e8877c7a0ca)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed