]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux: provide the session to the init() and attach() method.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 14 Dec 2018 18:42:40 +0000 (19:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 15 Dec 2018 22:50:09 +0000 (23:50 +0100)
commitf502aca5c26ac72867c0574aca82a407043093b0
treeee7613222ddba21f21afb8b84fc60224fe5c9ecc
parent8a7869022999c8b6bedd85cdbc846f8be811c8a2
MEDIUM: mux: provide the session to the init() and attach() method.

Instead of trying to get the session from the connection, which is not
always there, and of course there could be multiple sessions per connection,
provide it with the init() and attach() methods, so that we know the
session for each outgoing stream.
include/proto/connection.h
include/types/connection.h
src/backend.c
src/checks.c
src/mux_h1.c
src/mux_h2.c
src/mux_pt.c
src/peers.c