]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: promex: Be sure to never set EOM flag on an empty HTX message
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 7 Apr 2022 08:19:46 +0000 (10:19 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 7 Apr 2022 09:04:07 +0000 (11:04 +0200)
commitbe69cbdafe5a2a7939efe092b3c239eaf776c898
tree2e6522f73e14da751a6edcae93f687c285f0d053
parentf89af9c20597d8a0bf741559e1650fe3af5f2f25
BUG/MEDIUM: promex: Be sure to never set EOM flag on an empty HTX message

It is the same bug than "BUG/MEDIUM: stats: Be sure to never set EOM flag on
an empty HTX message". We must be sure to set the EOM flag on a non empyt
message to be sure the mux on the client will properly handle
shutdowns. Otherwise, it may miss the end of the message and considers any
shutdown as an abort.

This patch must be backported as far as 2.4. On previous version there is
still the EOM HTX block.
addons/promex/service-prometheus.c