MINOR: stream: Add level 7 retries on http error 401, 403
authorJulien Pivotto <roidelapluie@inuits.eu>
Thu, 12 Nov 2020 10:14:05 +0000 (11:14 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 23 Nov 2020 08:33:14 +0000 (09:33 +0100)
commit2de240a676f04d79c7fe01d15dff175dab682e45
tree98cb4d64ec422cd48fe48d7d5d165ad8ff4422a5
parent9fee7e02d1382cbf5ce2f8e98902541c3b825269
MINOR: stream: Add level 7 retries on http error 401, 403

Level-7 retries are only possible with a restricted number of HTTP
return codes. While it is usually not safe to retry on 401 and 403, I
came up with an authentication backend which was not synchronizing
authentication of users. While not perfect, being allowed to also retry
on those return codes is really helpful and acts as a hotfix until we
can fix the backend.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
doc/configuration.txt
include/haproxy/proxy-t.h
include/haproxy/proxy.h
src/proxy.c