]> git.kaiwu.me - haproxy.git/commitdiff
MINOR: mux-quic: remove error trace on transport failure
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 23 Nov 2026 15:55:11 +0000 (16:55 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 23 Nov 2026 16:35:33 +0000 (17:35 +0100)
An error trace is reported by MUX-QUIC when the transport layer detects
a connection closure. However, most of the time this occurs because the
client has closed the connection after finishing its transfer via a
NO_ERROR code.

This termination is expected and should not be considered as an error.
For this reason, remove the trace from the MUX-QUIC layer.

src/mux_quic.c

index 4b7e21e03c76d6d4367253fc8f3ebdee2116ef67..5004cbd55321fb9baf9c62dc53f0153c0023baee 100644 (file)
@@ -3414,7 +3414,7 @@ static int qcc_io_send(struct qcc *qcc)
        }
 
        if (qcc->conn->flags & CO_FL_ERROR && !(qcc->flags & QC_CF_ERR_CONN)) {
-               TRACE_ERROR("error reported by transport layer",
+               TRACE_STATE("error reported by transport layer",
                            QMUX_EV_QCC_SEND, qcc->conn);
                qcc->flags |= QC_CF_ERR_CONN;
        }