From 01d9f79a56a54d798284c969118c0cce226f806f Mon Sep 17 00:00:00 2001 From: ianswett Date: Tue, 20 Jun 2017 22:02:47 -0400 Subject: [PATCH] Disambiguate OnPacketAcked --- draft-ietf-quic-recovery.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/draft-ietf-quic-recovery.md b/draft-ietf-quic-recovery.md index 67191cf259..98daf0bb84 100644 --- a/draft-ietf-quic-recovery.md +++ b/draft-ietf-quic-recovery.md @@ -389,6 +389,7 @@ Pseudocode for OnPacketAcked follows: ~~~ OnPacketAcked(acked_packet_number): + OnPacketAckedCC(acked_packet_number) // If a packet sent prior to RTO was acked, then the RTO // was spurious. Otherwise, inform congestion control. if (rto_count > 0 && @@ -643,13 +644,13 @@ follows: ## On Packet Acknowledgement -Invoked at the same time loss detection's OnPacketAcked is called and -supplied with the acked_packet from sent_packets. +Invoked from loss detection's OnPacketAcked and is supplied with +acked_packet from sent_packets. -Pseudocode for OnPacketAcked follows: +Pseudocode for OnPacketAckedCC follows: ~~~ - OnPacketAcked(acked_packet): + OnPacketAckedCC(acked_packet): if (acked_packet.packet_number < end_of_recovery): return if (congestion_window < ssthresh):