BUG/MINOR: stream: properly clear the previous error mask on L7 retries
authorWilly Tarreau <w@1wt.eu>
Fri, 7 May 2021 06:19:30 +0000 (08:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 7 May 2021 06:22:16 +0000 (08:22 +0200)
commit75a4284babf50feecac17f9b32d07509b6c519ed
treeaa25ed68cb2e17a54a834270d02ff0a3c8875619
parent2639e2edc2cdc0546a83291e553c7423517f0a67
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.
src/http_ana.c