]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: session: use a specific data_cb for embryonic sessions
authorWilly Tarreau <w@1wt.eu>
Tue, 2 Oct 2012 19:21:20 +0000 (21:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 4 Oct 2012 20:26:10 +0000 (22:26 +0200)
commit5e75e2755e413f3d5d01b7c53c4856346de69af0
tree68617ff8f7e6ab4e05510be3bb7119d6b9ab5b5c
parentf4e114fe546a3dace7475450ceda572a4685ea7b
MEDIUM: session: use a specific data_cb for embryonic sessions

We don't want to have the recv or send callbacks in embryonic
sessions, and we want the stream interface to be referenced as
the connection owner only once the session is instanciated. So
let's first have the embryonic session be the owner, then replaced
later by the stream interface once the transport layer is ready.
src/session.c