BUG/MAJOR: session: repair tcp-request connection rules
authorWilly Tarreau <w@1wt.eu>
Mon, 16 Dec 2013 01:16:50 +0000 (02:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 16 Dec 2013 01:23:50 +0000 (02:23 +0100)
commit59e3ff45496c645b13093a4fa56011a037ee6e26
treeb66b63df2b5dc048aff84b0ea9eba8ab72f099ff
parent566226b9d7a242ca3cafbc26ea9d70ddb40d4135
BUG/MAJOR: session: repair tcp-request connection rules

Since recent commit f79c817 (MAJOR: connection: add two new flags to
indicate readiness of control/transport) and the surrounding commits,
the session initialization has been slightly delayed and the control
layer of the connection is not yet initialized when processing the
rules.

We need to move that minimal initialization a bit above.

The bug was introduced with latest changes, no backport is needed.
src/session.c