BUG/MINOR: http-ana: Reset request analysers on error when waiting for response
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Apr 2020 06:14:16 +0000 (08:14 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Apr 2020 06:29:41 +0000 (08:29 +0200)
commitdd6f0b1a74fb1241d276484f3c4aced513a95b78
treebf7aaadf4db0f3a480e49557559b8136ba912d89
parent8956a7615149852fc4fa7f49536a657c198aced7
BUG/MINOR: http-ana: Reset request analysers on error when waiting for response

This bug was supposed to be fixed by the commit f6df2b4a ("BUG/MINOR: http-ana:
Reset request analysers on a response side error"). It is a backported patch
from the 2.2. But, while it is enough on the 2.2, it is not on 2.1 and
lower. For these versions, the error handling is not grouped at the end of
analysers. At many places, when we are waiting for a response, several errors
are immediately returned. For all of these, the same fix must be applied.

The patch was directly introduced on 2.1, there is no upstream commit ID for
this patch. It must be backported everywhere the commit f6df2b4a is.
src/http_ana.c