]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stconn: stream instantiation from proxy callback
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 11 Feb 2026 13:43:58 +0000 (14:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Feb 2026 13:46:49 +0000 (14:46 +0100)
commit2bf091e9da5feff725904e6a567be2284ec2a8bd
treebec94f8ad4b04584c45b856a798c588ee0403cf1
parent1dc20a630ae9a01c5f9ce94739befd32a792e06e
MINOR: stconn: stream instantiation from proxy callback

Add a pointer to function to proxies as ->stream_new_from_sc proxy
struct member to instantiate stream from connection as this is done by
all the muxes when they call sc_new_from_endp(). The default value for
this pointer is obviously stream_new() which is exported by this patch.
include/haproxy/proxy-t.h
include/haproxy/stream.h
src/proxy.c
src/stconn.c
src/stream.c