Skip to content

Commit

Permalink
Update draft-ietf-quic-recovery.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ianswett committed Oct 3, 2018
1 parent 9aef36f commit 7b4ed8c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions draft-ietf-quic-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -695,14 +695,12 @@ Pseudocode for OnAckReceived and UpdateRtt follow:

// Find all newly acked packets in this ACK frame
newly_acked_packets = DetermineNewlyAckedPackets(ack)
// Find the smallest packet that is newly acked in this ACK frame.
smallest_newly_acked = FindSmallestNewlyAcked(newly_acked_packets)
for acked_packet in newly_acked_packets:
smallest_newly_acked =
min(smallest_newly_acked, acked_packet.packet_number)
OnPacketAcked(acked_packet.packet_number)

if !newly_acket_packets.empty():
// Find the smallest packet that is newly acked in this ACK frame.
smallest_newly_acked = FindSmallestNewlyAcked(newly_acked_packets)
// If any packets sent prior to RTO were acked, then the
// RTO was spurious. Otherwise, inform congestion control.
if (rto_count > 0 &&
Expand Down

0 comments on commit 7b4ed8c

Please sign in to comment.