BUG/MINOR: promex: Set conn-stream/channel EOI flags at the end of request
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 7 Mar 2022 14:56:20 +0000 (15:56 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 10 Mar 2022 09:51:16 +0000 (10:51 +0100)
commit87d74d5655e02a0d845ed06e55e0d21f24d54096
tree86aba46c8c651b645464c0c2530660cf7be61113
parent3fcefd16e3f9493bd56c00e134c5831fbfd08000
BUG/MINOR: promex: Set conn-stream/channel EOI flags at the end of request

This bug is the same than for the HTTP client. See "BUG/MINOR: httpclient:
Set conn-stream/channel EOI flags at the end of request" for details.

This patch must be backported as far as 2.0. But only CF_EOI must be set
because applets are not attached to a conn-stream on older versions.

(cherry picked from commit bef64b23b7e7b4cdcfa201f17053ee58f43c6802)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
addons/promex/service-prometheus.c