]> git.kaiwu.me - haproxy.git/commit
MINOR: stconn: export sc_new()
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 19 Mar 2026 13:55:04 +0000 (14:55 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 18 Jun 2026 09:25:59 +0000 (11:25 +0200)
commitf273680266338c6b843548cf15c2b9b3551288a6
tree289b6f55784bd985954585252a09ef0b5d64bea2
parentc85533296a31d207ed530955187ed154d602bb0b
MINOR: stconn: export sc_new()

This patch exports sc_new() by removing its static storage class and
adding its prototype to include/haproxy/stconn.h.

This is required to allow external modules, such as the upcoming haload
benchmarking tool, to allocate and initialize new stream connectors
from a stream endpoint descriptor (sedesc).
include/haproxy/stconn.h
src/stconn.c