From: Willy Tarreau Date: Thu, 5 Oct 2017 16:02:55 +0000 (+0200) Subject: MINOR: stream: use conn_full_close() instead of conn_force_close() X-Git-Tag: v1.8-dev3~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=151a2387ece5489313cd4955a2ba17e132ee8b2d;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/stream.c b/src/stream.c index 880327b683..4ec62833ac 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;