]> git.kaiwu.me - haproxy.git/commit
MINOR: stconn: add sc_hastream() and __sc_hastream() helpers
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 19 Mar 2026 13:52:39 +0000 (14:52 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Fri, 24 Apr 2026 09:32:45 +0000 (11:32 +0200)
commite08b126fbbb267c508900d8ac130d4d76f15ef3c
tree74bd7e9f7ce89d298447a063c25a634afc1d439d
parenteffbcf3ac7a43df211dcbd62416cbb804b7f4883
MINOR: stconn: add sc_hastream() and __sc_hastream() helpers

This patch introduces the sc_hastream() and __sc_hastream() inline
helpers to retrieve a haload stream context (struct hastream) from
a stream connector.

These functions allow the stconn layer to safely access haload-specific
stream data when the application type is OBJ_TYPE_HXLOAD.
include/haproxy/stconn.h