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>
Wed, 26 May 2021 11:56:06 +0000 (13:56 +0200)
commitd976923ab27e8aeb6cc6518232b5d2835401b1c8
tree8e31cf37101738536d95cca6a477467488e4ba22
parent552601d5fd924f609dfc397baae8f5d96104d89d
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.
src/http_ana.c