CLEANUP: http-ana: Remove useless if statement about L7 retries
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 31 May 2021 09:45:24 +0000 (11:45 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 31 May 2021 09:45:26 +0000 (11:45 +0200)
commit1a4449b0d0de49095aa8a1e1218e7c731d769f75
tree1f6f44e1a809246495035d75385d73f7e1144f37
parent476462010ecc2329e9ecba5afd20f84d9605d809
CLEANUP: http-ana: Remove useless if statement about L7 retries

Thanks to the commit 1f08bffe0 ("MINOR: http-ana: Perform L7 retries because
of status codes in response analyser"), the L7 retries about the response
status code is now fully handled in the HTTP response analyser.
CF_READ_ERROR flag is no longer set on the response channel in this
case. Thus it is useless to try to catch L7 retries when CF_READ_ERROR is
set because it cannot happen.

The above commit was backported to 2.4, thus this one should also be
backported.
src/http_ana.c