]> git.kaiwu.me - haproxy.git/commit
MINOR: obj_type: add OBJ_TYPE_HALOAD 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>
Wed, 1 Jul 2026 13:22:14 +0000 (15:22 +0200)
commitd28f0cb2198151263046f801648ae8c8b1ff96f0
treef54d5c7a3363cb2e702f113833f6ee84a25c112e
parent0ecbf8ffb4b41148767d4a251fc74eae9fa1f93c
MINOR: obj_type: add OBJ_TYPE_HALOAD for haload stream objects

This patch introduces the OBJ_TYPE_HXLOAD object type to distinguish
the 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