MEDIUM: session: prepare to support earlier transitions to the established state
authorWilly Tarreau <w@1wt.eu>
Tue, 31 Dec 2013 22:16:50 +0000 (23:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Dec 2013 22:16:50 +0000 (23:16 +0100)
commitb44c873d61138c70cede03dbee2170b4c45e7511
tree4d54e8d04e1cbb761c769e4ebf970c9816461abb
parent0e37f1c40e8642ac7bd2d9064846944bffc67138
MEDIUM: session: prepare to support earlier transitions to the established state

At the moment it is possible in sess_prepare_conn_req() to switch to the
established state when the target is an applet. But sess_update_stream_int()
will soon also have the ability to set the established state via
connect_server() when a connection is reused, leading to a synchronous
connect.

So prepare the code to handle this SI_ST_ASS -> SI_ST_EST transition, which
really matches what's done in the lower layers.
src/session.c