]> 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>
Wed, 1 Jul 2026 13:22:14 +0000 (15:22 +0200)
commitb3ed9c1879fbad909acaa4fed9ff9b358fb1e148
treef4fc76618f5393be2d6b3d5c1abdd00f9e8d8adb
parent617bfe95f2194d2c328b22e80a1e9d7b9982801b
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