From f98feda53f8ebe55b6f16bcd6c4fba9d7d6d69cb Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Wed, 16 Oct 2024 14:57:17 +0200 Subject: [PATCH] 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. --- src/mux_h1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mux_h1.c b/src/mux_h1.c index ca85b2623..c2f178255 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; }