MINOR: mux-quic: complete Tx infos for QCS dump

Complete debug info when a QCS instance is dumped either on traces or
show quic. Display the value of Tx offset both soft and real, along with
the current flow-control limit.
This commit is contained in:
Amaury Denoyelle 2024-09-26 10:49:54 +02:00
parent f18b52cc80
commit 172404a8ec

View File

@ -3429,7 +3429,10 @@ void qcc_show_quic(struct qcc *qcc)
if (!quic_stream_is_uni(qcs->id) || !quic_stream_is_local(qcc, qcs->id))
chunk_appendf(&trash, " rxoff=%llu", (ullong)qcs->rx.offset);
if (!quic_stream_is_uni(qcs->id) || !quic_stream_is_remote(qcc, qcs->id))
chunk_appendf(&trash, " txoff=%llu", (ullong)qcs->tx.fc.off_real);
chunk_appendf(&trash, " txoff=%llu(%llu) msd=%llu",
(ullong)qcs->tx.fc.off_real,
(ullong)qcs->tx.fc.off_soft - (ullong)qcs->tx.fc.off_soft,
(ullong)qcs->tx.fc.limit);
chunk_appendf(&trash, "\n");
node = eb64_next(node);
}