]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: conn_stream: add a pointer back to the cs from the endpoint
authorWilly Tarreau <w@1wt.eu>
Tue, 10 May 2022 07:04:18 +0000 (09:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 May 2022 12:28:48 +0000 (14:28 +0200)
commitefb4618c6ea17547a5f755c12c41ee7476228bcc
tree20915a03e2ffe332d101c28cfe533d69bd6f0a79
parent66435e5f6360adf5775e9d4852a9f1a2af56fe92
MINOR: conn_stream: add a pointer back to the cs from the endpoint

Muxes and applets need to have both a pointer to the endpoint and to the
conn_stream. It would seem more natural that they only have a pointer to
the endpoint (that is always there) and that this one has an optional
pointer to the conn_stream. This would reduce the number of elements to
manipulate in lower level code. In addition, the conn_stream is not much
used from the lower layers (wake and exceptional events mostly).
include/haproxy/conn_stream-t.h
src/conn_stream.c