record InSlowStart and InRecovery

This commit is contained in:
Marten Seemann
2019-04-08 10:51:13 +09:00
parent 73f83ca4bb
commit fcb0d6cfdc
5 changed files with 41 additions and 5 deletions

View File

@@ -694,5 +694,7 @@ func (h *sentPacketHandler) GetStats() *quictrace.TransportState {
LatestRTT: h.rttStats.LatestRTT(),
BytesInFlight: h.bytesInFlight,
CongestionWindow: h.congestion.GetCongestionWindow(),
InSlowStart: h.congestion.InSlowStart(),
InRecovery: h.congestion.InRecovery(),
}
}