]> 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>
Fri, 24 Apr 2026 09:32:45 +0000 (11:32 +0200)
commitb749ec95e03d2b015956034537a59aa57ebfcb2e
tree0c786fc5b705ae3933165ebb7ef1b04e12427823
parente08b126fbbb267c508900d8ac130d4d76f15ef3c
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