1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-09 10:00:57 +03:00

Add DSR packet count to state and qlog.

Summary: It's useful at the end of a connection to know if we tried DSR.

Reviewed By: jbeshay

Differential Revision: D30545282

fbshipit-source-id: bbb2f3408f7a2d5666676c9e2583bf8fd9f18911
This commit is contained in:
Matt Joras
2021-08-26 14:05:40 -07:00
committed by Facebook GitHub Bot
parent 9c1b93c27c
commit 40cc0ca93e
9 changed files with 22 additions and 21 deletions

View File

@@ -289,7 +289,8 @@ void QuicTransportBase::closeImpl(
: std::numeric_limits<uint64_t>::max(),
getSendConnFlowControlBytesWire(*conn_),
conn_->usedZeroRtt,
conn_->version.value_or(QuicVersion::MVFST_INVALID)});
conn_->version.value_or(QuicVersion::MVFST_INVALID),
conn_->dsrPacketCount});
}
// TODO: truncate the error code string to be 1MSS only.