From 1bde3d3087dae68c6574649286dc77a692bb0e3e Mon Sep 17 00:00:00 2001 From: ianswett Date: Wed, 6 Dec 2017 09:42:06 -0500 Subject: [PATCH] s/acked_packets/acked_packet Fixes #987 --- draft-ietf-quic-recovery.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/draft-ietf-quic-recovery.md b/draft-ietf-quic-recovery.md index 1ab5d251d4..b1a5d4a02e 100644 --- a/draft-ietf-quic-recovery.md +++ b/draft-ietf-quic-recovery.md @@ -629,9 +629,9 @@ When a packet is acked for the first time, the following OnPacketAcked function is called. Note that a single ACK frame may newly acknowledge several packets. OnPacketAcked must be called once for each of these newly acked packets. -OnPacketAcked takes one parameter, acked_packet, which is the packet number of -the newly acked packet, and returns a list of packet numbers that are detected -as lost. +OnPacketAcked takes one parameter, acked_packet_number, which is the packet +number of the newly acked packet, and returns a list of packet numbers that +are detected as lost. If this is the first acknowledgement following RTO, check if the smallest newly acknowledged packet is one sent by the RTO, and if so, inform congestion control @@ -966,11 +966,11 @@ acked_packet from sent_packets. return if (congestion_window < ssthresh): // Slow start. - congestion_window += acked_packets.bytes + congestion_window += acked_packet.bytes else: // Congestion avoidance. congestion_window += - kDefaultMss * acked_packets.bytes / congestion_window + kDefaultMss * acked_packet.bytes / congestion_window ~~~ ### On Packets Lost