forked from quic-go/quic-go
unify TLP and RTO
This doesn't yet implement the persistent congestion detection, since the specification of that still is in flux.
This commit is contained in:
@@ -821,7 +821,7 @@ sendLoop:
|
||||
// There will only be a new ACK after receiving new packets.
|
||||
// SendAck is only returned when we're congestion limited, so we don't need to set the pacingt timer.
|
||||
return s.maybeSendAckOnlyPacket()
|
||||
case ackhandler.SendTLP, ackhandler.SendRTO:
|
||||
case ackhandler.SendPTO:
|
||||
if err := s.sendProbePacket(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user