MINOR: connection: add simple functions to report connection readiness
authorWilly Tarreau <w@1wt.eu>
Sun, 15 Dec 2013 09:23:20 +0000 (10:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 16 Dec 2013 01:23:52 +0000 (02:23 +0100)
commitd02cdd23be5f742408082bb04d4a387ee3b3b473
tree7f294a504a1ed52d74c87166a1a8bd72593012cd
parented179854c07382c87cbdd30a243703ab9081496a
MINOR: connection: add simple functions to report connection readiness

conn_xprt_ready() reports if the transport layer is ready.
conn_ctrl_ready() reports if the control layer is ready.

The stream interface uses si_conn_ready() to report that the
underlying connection is ready. This will be used for connection
reuse in keep-alive mode.
include/proto/connection.h
include/proto/stream_interface.h
src/stream_interface.c