MINOR: stream: 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-05 18:13:15 +02:00
parent 151a2387ec
commit 630f99a7e9

View File

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