MINOR: connection: reintroduce conn_prepare to set the protocol and transport
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Oct 2013 13:08:37 +0000 (15:08 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Dec 2013 14:40:23 +0000 (15:40 +0100)
commit910c6aa5b7a6796740a6506216ab7eeef55ccf07
treea6f919f216ce8e47910dd1a235b9136f42e8cefc
parent3ed35ef05bdc773886705bd3b65867441abde4dc
MINOR: connection: reintroduce conn_prepare to set the protocol and transport

Now that we can assign conn->xprt regardless of the initialization state,
we can reintroduce conn_prepare() to set only the protocol, the transport
layer and initialize the transport layer's state.
include/proto/connection.h
src/checks.c
src/session.c