commit | 3c72872da17280beb61c46b7b7424cc10e1e1610 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jan 23 13:50:42 2014 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jan 26 00:42:31 2014 +0100 |
tree | 14dd6252ccd689353d612e4bd21e850bced7a9a5 | |
parent | d8375891fcd48ecd5069a7d6838d6e07b5cf06b0 [diff] |
CLEANUP: connection: use conn_ctrl_ready() instead of checking the flag It's easier and safer to rely on conn_ctrl_ready() everywhere than to check the flag itself. It will also simplify adding extra checks later if needed. Some useless controls for !ctrl have been removed, as the CTRL_READY flag itself guarantees ctrl is set.