MINOR: connection: replace conn_assign with conn_attach
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Oct 2013 13:31:04 +0000 (15:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Dec 2013 14:40:23 +0000 (15:40 +0100)
commit7abddb5c6714a8d50ea63bbc69d23820844bca1d
tree9b1169bac70d4d51ade20c462cc49416a152797a
parent910c6aa5b7a6796740a6506216ab7eeef55ccf07
MINOR: connection: replace conn_assign with conn_attach

We don't want to assign the control nor transport layers anymore
at the same time as the data layer, because it prevents one from
keeping existing settings when reattaching a connection to an
existing stream interface.

Let's have conn_attach() replace conn_assign() for this purpose.

Thus, conn_prepare() + conn_attach() do exactly the same as the
previous conn_assign().
include/proto/connection.h
include/proto/stream_interface.h
src/checks.c
src/session.c