commit | 6978db35e92ccf4777d040b92a4c1b2ef144f202 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Oct 05 18:19:43 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 18:03:24 2017 +0100 |
tree | ad86f3fcc7be4c779fe2fa27a4da5054b4007fe3 | |
parent | 9fbbff6de4222c79236043a2f9c2f5e6d7fb6c81 [diff] |
MINOR: connection: add cs_close() to close a conn_stream This basically calls cs_shutw() followed by cs_shutr(). Both of them are called in the most conservative mode so that any previous call is still respected. The CS flags are cleared so that it can be reused (this is important for connection retries when conn and CS are reused without being reallocated).