]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: mux-quic: complete trace when stream is not found
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 22 Mar 2022 15:42:10 +0000 (16:42 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 23 Mar 2022 08:49:08 +0000 (09:49 +0100)
Display the ID of the stream not found. This will help to detect when we
received retransmitted frames for an already closed stream.

src/mux_quic.c

index 9dc4c40de30d2fef59e62dd05d527e76f94bd3db..fa0207ea567ae5d11189b705714ca06c4db085b3 100644 (file)
@@ -197,7 +197,7 @@ int qcc_recv(struct qcc *qcc, uint64_t id, uint64_t len, uint64_t offset,
 
        strm_node = qcc_get_qcs(qcc, id);
        if (!strm_node) {
-               fprintf(stderr, "%s: stream not found\n", __func__);
+               fprintf(stderr, "%s: stream not found: %ld\n", __func__, id);
                return 1;
        }