]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: conn-stream: Add an endpoint structure in the conn-stream
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Mar 2022 15:06:25 +0000 (16:06 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Apr 2022 13:10:14 +0000 (15:10 +0200)
commitdb90f2aa9f6846e3c189c316504f3d2b55d9ac10
tree5e0a11ef2bde61ce598f27cf88f3f66d65c3a842
parentbb772d09f579cc366c0aadf832ad3f9efffee983
MEDIUM: conn-stream: Add an endpoint structure in the conn-stream

Group the endpoint target of a conn-stream, its context and the associated
flags in a dedicated structure in the conn-stream. It is not inlined in the
conn-stream structure. There is a dedicated pool.

For now, there is no complexity. It is just an indirection to get the
endpoint or its context. But the purpose of this structure is to be able to
share a refcounted context between the mux and the conn-stream. This way, it
will be possible to preserve it when the mux is detached from the
conn-stream.
12 files changed:
dev/flags/flags.c
include/haproxy/conn_stream-t.h
include/haproxy/conn_stream.h
src/conn_stream.c
src/h3.c
src/hq_interop.c
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/mux_pt.c
src/mux_quic.c
src/stream.c