]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: stream/conn_stream: Move the stream-interface into the conn-stream
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 23 Dec 2021 16:28:17 +0000 (17:28 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Feb 2022 10:00:03 +0000 (11:00 +0100)
commitcda94accb1f0e2615b36688a7271829cb3a3be33
tree405b585cdb4c6803bf81b7f3283ee94e7adb7ff4
parent9a86f6399fd151a154e4794914d989b69028a34f
MAJOR: stream/conn_stream: Move the stream-interface into the conn-stream

Thanks to all previous changes, it is now possible to move the
stream-interface into the conn-stream. To do so, some SI functions are
removed and their conn-stream counterparts are added. In addition, the
conn-stream is now responsible to create and release the
stream-interface. While the stream-interfaces were inlined in the stream
structure, there is now a pointer in the conn-stream. stream-interfaces are
now dynamically allocated. Thus a dedicated pool is added. It is a temporary
change because, at the end, the stream-interface structure will most
probably disappear.
27 files changed:
include/haproxy/channel.h
include/haproxy/conn_stream-t.h
include/haproxy/conn_stream.h
include/haproxy/stream-t.h
include/haproxy/stream_interface.h
src/backend.c
src/cli.c
src/conn_stream.c
src/connection.c
src/dns.c
src/flt_spoe.c
src/h3.c
src/hlua.c
src/hq_interop.c
src/http_ana.c
src/http_client.c
src/http_fetch.c
src/mux_h1.c
src/mux_h2.c
src/mux_pt.c
src/peers.c
src/sink.c
src/stream.c
src/stream_interface.c
src/tcp_act.c
src/tcp_sample.c
src/tcpcheck.c