]> 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>
Thu, 18 Jun 2026 09:25:59 +0000 (11:25 +0200)
commitd228ed26fccb51c71bfaf59f9c745d9440421832
tree4b7bcc98bb8e491bf2580cd432191ee34b7adc76
parent6e3226c8728f837776a9bed3ac81171303cee88f
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