diff --git a/draft-ietf-quic-recovery.md b/draft-ietf-quic-recovery.md index 1f5f5f38f2..2900df936f 100644 --- a/draft-ietf-quic-recovery.md +++ b/draft-ietf-quic-recovery.md @@ -1217,17 +1217,17 @@ PeerCompletedAddressValidation(): has received HANDSHAKE_DONE SetLossDetectionTimer(): + if (server is at anti-amplification limit): + // The server's alarm is not set if nothing can be sent. + loss_detection_timer.cancel() + return + earliest_loss_time, _ = GetEarliestTimeAndSpace(loss_time) if (earliest_loss_time != 0): // Time threshold loss detection. loss_detection_timer.update(earliest_loss_time) return - if (server is at anti-amplification limit): - // The server's alarm is not set if nothing can be sent. - loss_detection_timer.cancel() - return - if (no ack-eliciting packets in flight && PeerCompletedAddressValidation()): // There is nothing to detect lost, so no timer is set.