BUG/MINOR: http-ana: Handle L7 retries on refused early data before K/A aborts
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 26 May 2021 10:15:37 +0000 (12:15 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 31 May 2021 13:26:18 +0000 (15:26 +0200)
commit599b73add8098c1424c62e87633e579c3213d3fe
tree43693162857a95b8c6c3ab64fe26bf93c53f3463
parenta3e78a80d600188d036bc082eef83bc0899d6035
BUG/MINOR: http-ana: Handle L7 retries on refused early data before K/A aborts

When a network error occurred on the server side, if it is not the first
request (in case of keep-alive), nothing is returned to the client and its
connexion is closed to be sure it may retry. However L7 retries on refused
early data (0rtt-rejected) must be performed first.

In addition, such L7 retries must also be performed before incrementing the
failed responses counter.

This patch must be backported as far as 2.0.

(cherry picked from commit d976923ab27e8aeb6cc6518232b5d2835401b1c8)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit b187534982d285f569ec9731f4bce0287232fd25)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/http_ana.c