]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: conn-stream: Rename cs_conn_close() and cs_conn_drain_and_close()
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Apr 2022 06:38:54 +0000 (08:38 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 22 Apr 2022 12:14:27 +0000 (14:14 +0200)
commitff022a2b8cf41cae8bc66201202657826e86f156
treec7cb090caa25d944db79f746d6508570a7e47c41
parent0264212ba370ff396de593bda31631dfd3108b49
CLEANUP: conn-stream: Rename cs_conn_close() and cs_conn_drain_and_close()

These functions don't close the connection but only perform shutdown for
reads and writes at the mux level. It is a bit ambiguous. Thus,
cs_conn_close() is renamed cs_conn_shut() and cs_conn_drain_and_close() is
renamed cs_conn_drain_and_shut(). These both functions rely on
cs_conn_shutw() and cs_conn_shutr().
include/haproxy/conn_stream.h
src/check.c
src/conn_stream.c