MINOR: session: factor out the connect time measurement
authorWilly Tarreau <w@1wt.eu>
Tue, 31 Dec 2013 22:06:46 +0000 (23:06 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Dec 2013 22:06:46 +0000 (23:06 +0100)
commit0e37f1c40e8642ac7bd2d9064846944bffc67138
tree6bedd1d4f2fcbb9f484575fc1348d3d05d7f8873
parentc920096993c2c01b3e80d34e0297bba490300184
MINOR: session: factor out the connect time measurement

Currently there are 3 places in the code where t_connect is set after
switching to state SI_ST_EST, and a fourth one will soon come. Since
all these places lead to an immediate call to sess_establish() to
complete the session establishment, better move that measurement
there.
src/session.c