]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: mux-pt: always take the endp from the context not the cs
authorWilly Tarreau <w@1wt.eu>
Tue, 10 May 2022 09:21:15 +0000 (11:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 May 2022 12:27:57 +0000 (14:27 +0200)
commit7a2705f921a6161f6ab2b29794bb8f9e2dc30add
tree0c37ceee572336e149df1b3d383791830ab4fea6
parentaff21f9a9604190dd00b6954f9463edd1e700ceb
CLEANUP: mux-pt: always take the endp from the context not the cs

At a few places the endpoint pointer was retrieved from the conn_stream
while it's safer and more long-term proof to take it from the context.
Let's just do that.
src/mux_pt.c