Merge pull request #2049 from lucas-clemente/fix-initial-pto

fix initial PTO timer duration
This commit is contained in:
Marten Seemann
2019-08-12 21:05:54 -04:00
committed by GitHub
3 changed files with 5 additions and 17 deletions

View File

@@ -666,7 +666,7 @@ func (h *sentPacketHandler) ResetForRetry() error {
func (h *sentPacketHandler) GetStats() *quictrace.TransportState {
return &quictrace.TransportState{
MinRTT: h.rttStats.MinRTT(),
SmoothedRTT: h.rttStats.SmoothedOrInitialRTT(),
SmoothedRTT: h.rttStats.SmoothedRTT(),
LatestRTT: h.rttStats.LatestRTT(),
BytesInFlight: h.bytesInFlight,
CongestionWindow: h.congestion.GetCongestionWindow(),