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
1 changed files with 2 additions and 1 deletions

View File

@ -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))) {