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()
There's no point in using conn_force_close() in outgoing connect() since XPRT_TRACKED is not set so both functions are equivalent.
This commit is contained in:
parent
5b78a9dd04
commit
151a2387ec
@ -571,7 +571,7 @@ static int sess_update_st_con_tcp(struct stream *s)
|
|||||||
si->exp = TICK_ETERNITY;
|
si->exp = TICK_ETERNITY;
|
||||||
si->state = SI_ST_CER;
|
si->state = SI_ST_CER;
|
||||||
|
|
||||||
conn_force_close(srv_conn);
|
conn_full_close(srv_conn);
|
||||||
|
|
||||||
if (si->err_type)
|
if (si->err_type)
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user