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