From: Willy Tarreau Date: Sun, 22 Oct 2017 07:39:11 +0000 (+0200) Subject: MINOR: stream-int: use conn_full_close() instead of conn_force_close() X-Git-Tag: v1.8-dev3~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b737c9894e15bb349e335fe8adebe88d0fc2b9b;p=thirdparty%2Fhaproxy.git MINOR: stream-int: use conn_full_close() instead of conn_force_close() We simply disable tracking before calling it. --- diff --git a/include/proto/stream_interface.h b/include/proto/stream_interface.h index bafac026b7..70a323425d 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))) {