]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: session: attach incoming connection to target on embryonic sessions
authorWilly Tarreau <w@1wt.eu>
Mon, 14 Oct 2013 19:32:07 +0000 (21:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Dec 2013 14:40:22 +0000 (15:40 +0100)
commitf8a49eab4f6ad7cc7e618d9a5e3f56f554215ec8
tree914c1f60ee4dc64d2473487f855ee6548c73cdb6
parentce9dbcd9ea2dd94bbc21f34fbb9ba7cebfa20e19
MEDIUM: session: attach incoming connection to target on embryonic sessions

In order to reduce the dependency over stream-interfaces, we now
attach the incoming connection to the embryonic session's target
instead of the stream-interface's connection. This means we won't
need to initialize stream interfaces anymore after we implement
dynamic connection allocation. The session's target is reset to
NULL after the session has been converted to a complete session.
include/types/session.h
src/session.c