From: Christopher Faulet Date: Wed, 16 Oct 2024 12:57:17 +0000 (+0200) Subject: MINOR: mux-h1: Add a trace on shutdown when keep-alive is not possible X-Git-Tag: v3.1-dev11~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f98feda53f8ebe55b6f16bcd6c4fba9d7d6d69cb;p=thirdparty%2Fhaproxy.git MINOR: mux-h1: Add a trace on shutdown when keep-alive is not possible When the stream is shut down, some tests are performed to know if the connection must also be closed or not. There are trace messages for all cases, except for the default one: Abort or close-mode. Thanks to this patch, there is now a message too in this case. --- diff --git a/src/mux_h1.c b/src/mux_h1.c index ca85b26238..c2f1782559 100644 --- a/src/mux_h1.c +++ b/src/mux_h1.c @@ -1066,6 +1066,7 @@ static int h1s_must_shut_conn(struct h1s *h1s) } else { /* The default case, do the shutdown */ + TRACE_STATE("shutdown on connection (abort || want_clo)", H1_EV_STRM_SHUT, h1c->conn, h1s); ret = 1; }