mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-11 14:05:12 +00:00
MINOR: stream-int: use conn_full_close() instead of conn_force_close()
We simply disable tracking before calling it.
This commit is contained in:
parent
f098fd061f
commit
3b737c9894
@ -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))) {
|
||||||
|
Loading…
Reference in New Issue
Block a user