]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: add cs_close() to close a conn_stream
authorWilly Tarreau <w@1wt.eu>
Thu, 5 Oct 2017 16:19:43 +0000 (18:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 17:03:24 +0000 (18:03 +0100)
commit6978db35e92ccf4777d040b92a4c1b2ef144f202
treead86f3fcc7be4c779fe2fa27a4da5054b4007fe3
parent9fbbff6de4222c79236043a2f9c2f5e6d7fb6c81
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).
include/proto/connection.h