BUG/MINOR: http-ana: Fix condition to set LAST termination flag
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 26 Jan 2023 18:02:07 +0000 (19:02 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 13 Feb 2023 08:43:38 +0000 (09:43 +0100)
commit5b74f99383692308d9827e45a723b373cd444c55
treef575f634d69e9ebc54f21b136afae91e316581dc
parentb3ef9c392e9487eca373366f265c2b86f4d3f30b
BUG/MINOR: http-ana: Fix condition to set LAST termination flag

We should not report LAST data in log if the response is in TUNNEL mode on
client close/timeout because there is no way to be sure it is the last
data. It means, it can only be reported in DONE, CLOSING or CLOSE states.

No backport needed.
src/http_ana.c