MINOR: stream-int: use conn_full_close() instead of conn_force_close()

We simply disable tracking before calling it.
This commit is contained in:
Willy Tarreau 2017-10-22 09:39:11 +02:00
parent f098fd061f
commit 3b737c9894

View File

@ -160,7 +160,8 @@ static inline void si_release_endpoint(struct stream_interface *si)
if ((conn = objt_conn(si->end))) { if ((conn = objt_conn(si->end))) {
LIST_DEL(&conn->list); LIST_DEL(&conn->list);
conn_force_close(conn); conn_stop_tracking(conn);
conn_full_close(conn);
conn_free(conn); conn_free(conn);
} }
else if ((appctx = objt_appctx(si->end))) { else if ((appctx = objt_appctx(si->end))) {