From 151a2387ece5489313cd4955a2ba17e132ee8b2d Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 5 Oct 2017 18:02:55 +0200 Subject: [PATCH] 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. --- src/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream.c b/src/stream.c index 880327b68..4ec62833a 100644 --- a/src/stream.c +++ b/src/stream.c @@ -571,7 +571,7 @@ static int sess_update_st_con_tcp(struct stream *s) si->exp = TICK_ETERNITY; si->state = SI_ST_CER; - conn_force_close(srv_conn); + conn_full_close(srv_conn); if (si->err_type) return 0;