]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Add stream IDs to qcs_push_frame() traces
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 21 Dec 2021 10:53:33 +0000 (11:53 +0100)
committerFrédéric Lécaille <flecaille@haproxy.com>
Tue, 21 Dec 2021 15:06:03 +0000 (16:06 +0100)
This is only for debug purpose.

src/mux_quic.c

index 4886971bc7661191f466101bae876e08f79b7d28..e25ff256c951b873b20d90fb8fa2eda5741f5d0f 100644 (file)
@@ -283,7 +283,8 @@ static int qcs_push_frame(struct qcs *qcs, struct buffer *payload, int fin, uint
 
        MT_LIST_APPEND(&qel->pktns->tx.frms, &frm->mt_list);
  out:
-       fprintf(stderr, "%s: total=%d fin=%d offset=%lu\n", __func__, total, fin, offset);
+       fprintf(stderr, "%s: total=%d fin=%d id=%llu offset=%lu\n",
+               __func__, total, fin, (ull)qcs->by_id.key, offset);
        return total;
 
  err: