CLEANUP: conn_stream: merge cs_new_from_{mux,applet} into cs_new_from_endp()
authorWilly Tarreau <w@1wt.eu>
Wed, 11 May 2022 14:11:24 +0000 (16:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 May 2022 12:28:48 +0000 (14:28 +0200)
commit6796a06278767ac71c90c3fe858ad889db78981a
tree2f836bb95a7d87e4ca660718f5aa9b307d13f910
parent0698c80a5890f83df5e5ba9359474f5a3bea89b3
CLEANUP: conn_stream: merge cs_new_from_{mux,applet} into cs_new_from_endp()

The two functions became exact copies since there's no more special case
for the appctx owner. Let's merge them into a single one, that simplifies
the code.
12 files changed:
include/haproxy/conn_stream.h
include/haproxy/mux_quic.h
src/conn_stream.c
src/dns.c
src/flt_spoe.c
src/hlua.c
src/http_client.c
src/mux_h1.c
src/mux_h2.c
src/mux_pt.c
src/peers.c
src/sink.c