mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 06:41:32 +02:00
MINOR: stream: use conn_full_close() instead of conn_force_close()
We simply disable tracking before calling it.
This commit is contained in:
parent
151a2387ec
commit
630f99a7e9
@ -334,8 +334,10 @@ static void stream_free(struct stream *s)
|
|||||||
http_end_txn(s);
|
http_end_txn(s);
|
||||||
|
|
||||||
/* ensure the client-side transport layer is destroyed */
|
/* ensure the client-side transport layer is destroyed */
|
||||||
if (cli_conn)
|
if (cli_conn) {
|
||||||
conn_force_close(cli_conn);
|
conn_stop_tracking(cli_conn);
|
||||||
|
conn_full_close(cli_conn);
|
||||||
|
}
|
||||||
|
|
||||||
for (i = 0; i < s->store_count; i++) {
|
for (i = 0; i < s->store_count; i++) {
|
||||||
if (!s->store[i].ts)
|
if (!s->store[i].ts)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user