mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 06:06:59 -04:00
BUG/MINOR: mux-quic: fix show quic report of QCS prepared bytes
On show quic, each MUX streams are listed with their various indicator for buffering on Rx and Tx. In particular, txoff displays in parenthesis the current level of data prepared by the upper stream instance not yet emitted by QUIC transport layer. This value is only accessible after a substract operation. However, there was a typo which caused the result to be always 0. Fix this by reusing the correct offsets in the calculation. This should be backported up to 3.0.
This commit is contained in:
parent
a7e5180c71
commit
3704e0e174
1 changed files with 1 additions and 1 deletions
|
|
@ -3619,7 +3619,7 @@ void qcc_show_quic(struct qcc *qcc)
|
|||
if (!quic_stream_is_uni(qcs->id) || !quic_stream_is_remote(qcc, qcs->id))
|
||||
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.off_soft - (ullong)qcs->tx.fc.off_real,
|
||||
(ullong)qcs->tx.fc.limit);
|
||||
chunk_appendf(&trash, "\n");
|
||||
node = eb64_next(node);
|
||||
|
|
|
|||
Loading…
Reference in a new issue