]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: mux-quic: add traces in qc_recv()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 23 May 2022 16:52:11 +0000 (18:52 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 25 May 2022 13:41:25 +0000 (15:41 +0200)
Just add traces in qc_recv() similarly to qc_send() function.

src/mux_quic.c

index f6655f62676dd600a50befc9ebf4570a39f40894..6754d3bd8a8b769853246b8d7cccae761f1f7ee2 100644 (file)
@@ -1126,6 +1126,8 @@ static int qc_recv(struct qcc *qcc)
        struct eb64_node *node;
        struct qcs *qcs;
 
+       TRACE_ENTER(QMUX_EV_QCC_RECV);
+
        node = eb64_first(&qcc->streams_by_id);
        while (node) {
                qcs = eb64_entry(node, struct qcs, by_id);
@@ -1147,6 +1149,7 @@ static int qc_recv(struct qcc *qcc)
                node = eb64_next(node);
        }
 
+       TRACE_LEAVE(QMUX_EV_QCC_RECV);
        return 0;
 }