MINOR: stream-int: split si_prepare_embedded into si_prepare_none and si_prepare_applet
authorWilly Tarreau <w@1wt.eu>
Sun, 29 Sep 2013 15:19:56 +0000 (17:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Dec 2013 14:40:22 +0000 (15:40 +0100)
commit372d6708fba12c1a7146b80b89d24da11a96c5fa
tree74a48d16203c4d2880abd55c44ab245a2fca1238
parent9b6c2c721e695968dde0db4463c4b7d230590d10
MINOR: stream-int: split si_prepare_embedded into si_prepare_none and si_prepare_applet

si_prepare_embedded() was used both to attach an applet and to detach
anything from a stream interface. Split it into si_prepare_none() to
detach and si_prepare_applet() to attach an applet.

si->conn->target is now assigned from within these two functions instead
of their respective callers.
include/proto/stream_interface.h
src/session.c
src/stream_interface.c