]> git.kaiwu.me - haproxy.git/commit
MINOR: htx: Rename htx_has_eom() into htx_msg_ended()
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 15 Sep 2026 11:58:16 +0000 (13:58 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 18 Sep 2026 15:05:18 +0000 (17:05 +0200)
commitcb50ed3012ee2b0801813ccd0e758952037063fe
tree9da5a90286af16dba2727f777b1f1666786bc729
parent21be0976293aa372a0464fe7ea7d3c46b9684b98
MINOR: htx: Rename htx_has_eom() into htx_msg_ended()

htx_has_eom() name suggests the HTX message contains a block carrying the
HTX_BLK_FL_EOM flag. It is true for now, because the flag can only be found
on the tail block. But this will change. The block carrying this flag may be
consumed while the end of the message must still be reported. So the name is
misleading and htx_msg_ended() is more accurate: it states the end of the
message was reached, regardless of the presence of the flag in the message.

Only a rename, there is no change of behavior. Note the sample fetch
"internal.htx.has_eom" was not renamed because it is part of the
configuration.
13 files changed:
include/haproxy/htx.h
src/fcgi-app.c
src/flt_decomp.c
src/flt_http_comp.c
src/hlua.c
src/hq_interop.c
src/http_ana.c
src/http_client.c
src/http_htx.c
src/htx.c
src/mux_h2.c
src/qcm_http.c
src/tcpcheck.c