]> 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, 24 Jul 2026 09:58:25 +0000 (11:58 +0200)
commitcb2e1c1954f7dab22d541f92a360d493b7c0a6f8
tree6e7be2328c032412c16beb001fe6bd34956082a8
parent298f6b9355b992bf67f98ff03b93de28e7969481
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.
17 files changed:
addons/promex/service-prometheus.c
include/haproxy/htx.h
src/cache.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