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