]> git.kaiwu.me - haproxy.git/commit
MINOR: obj_type: add OBJ_TYPE_HXLOAD for haload stream objects
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 19 Mar 2026 13:43:50 +0000 (14:43 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Fri, 24 Apr 2026 09:32:45 +0000 (11:32 +0200)
commiteffbcf3ac7a43df211dcbd62416cbb804b7f4883
treec595ec3a61c8aa8991368a051ac2bc020ad4bd86
parent7f894cc6dc21edb97263bbd3af3e1520d88ce2fe
MINOR: obj_type: add OBJ_TYPE_HXLOAD for haload stream objects

This patch introduces the OBJ_TYPE_HXLOAD object type to represent
haload stream objects (struct hastream).

It also adds the associated inline helper functions objt_hastream()
and __objt_hastream() to allow safe casting and retrieval of
hastream contexts from a generic object pointer, following the
standard container_of pattern.
include/haproxy/obj_type-t.h
include/haproxy/obj_type.h