From 3b737c9894e15bb349e335fe8adebe88d0fc2b9b Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 22 Oct 2017 09:39:11 +0200 Subject: [PATCH] MINOR: stream-int: use conn_full_close() instead of conn_force_close() We simply disable tracking before calling it. --- include/proto/stream_interface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/proto/stream_interface.h b/include/proto/stream_interface.h index bafac026b..70a323425 100644 --- a/include/proto/stream_interface.h +++ b/include/proto/stream_interface.h @@ -160,7 +160,8 @@ static inline void si_release_endpoint(struct stream_interface *si) if ((conn = objt_conn(si->end))) { LIST_DEL(&conn->list); - conn_force_close(conn); + conn_stop_tracking(conn); + conn_full_close(conn); conn_free(conn); } else if ((appctx = objt_appctx(si->end))) {