BUG/MINIR: proxy: Match on 429 status when trying to perform a L7 retry
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 30 Aug 2024 10:11:03 +0000 (12:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 2 Sep 2024 18:09:33 +0000 (20:09 +0200)
commit46f72f4379791127788fb5396f7a292786fc053a
tree44e21f9885d5db6063d44d5d6d73f088ecbdfcb2
parent13437097c312e524a346b9016d8ab273374d2053
BUG/MINIR: proxy: Match on 429 status when trying to perform a L7 retry

Support for 429 was recently added to L7 retries (0d142e075 "MINOR: proxy:
Add support of 429-Too-Many-Requests in retry-on status"). But the
l7_status_match() function was not properly updated. The switch statement
must match the 429 status to be able to perform a L7 retry.

This patch must be backported if the commit above is backported. It is
related to #2687.

(cherry picked from commit 62c9d51ca4d4f870723522b30d368d984f536e7e)
Signed-off-by: Willy Tarreau <w@1wt.eu>
include/haproxy/proxy.h