]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: haterm: Move all init functions of haterm in haterm_init.c
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Apr 2026 10:20:20 +0000 (12:20 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Apr 2026 13:09:44 +0000 (15:09 +0200)
commit8056117e988a3fde05d46ecc71b2d1a3d802977d
treeb9091ddffb0247840cad07fc7041a8d733fbcb05
parented208b7e0f385c8e9c5cd606a8a4e4ad54c43c70
BUG/MEDIUM: haterm: Move all init functions of haterm in haterm_init.c

Functions used to initialize haterm (the splicing and the response buffers)
were defined and registered in haterm.c. The problem is that this file in
compiled with haproxy. So it may be an issue. And for the splicing part,
warnings may be emitted when haproxy is started.

To avoid any issue during haproxy startup and to avoid to initialize some
part of haterm, all init functions were moved into haterm_init.c file.

No backport needed.
include/haproxy/hstream-t.h
include/haproxy/hstream.h
src/haterm.c
src/haterm_init.c