]> git.kaiwu.me - haproxy.git/commit
MAJOR: htx: Use htx_set_eom() instead of setting HTX_FL_EOM by hand
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 8 Jul 2026 14:13:24 +0000 (16:13 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 18 Sep 2026 15:05:18 +0000 (17:05 +0200)
commitb7467ca914e6919a1aa89cde17207129f48416d9
treeb64530a5369438ac516f1e69360f5ef1b54690bd
parent3a8bc71e460bd40c8cb260c553ff04e0294d4dda
MAJOR: htx: Use htx_set_eom() instead of setting HTX_FL_EOM by hand

The function htx_set_eom() takes care to the HTX_FL_EOM on the HTX message,
by first adding a EOT block if the message is empty. So let's use it
wherever possible.

This commit is tagged as MAJOR because it is an API change.
18 files changed:
addons/promex/service-prometheus.c
include/haproxy/htx.h
src/cache.c
src/flt_decomp.c
src/h1_htx.c
src/h2.c
src/h3.c
src/haload.c
src/haterm.c
src/hlua.c
src/hq_interop.c
src/http_ana.c
src/http_client.c
src/http_htx.c
src/mux_fcgi.c
src/mux_h2.c
src/stats-html.c
src/tcpcheck.c