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 Jan 13, 2017
1 parent b1ef5f0 commit bf83371
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions draft-ietf-quic-recovery.md
Expand Up @@ -345,11 +345,11 @@ Pseudocode for OnAckReceived and UpdateRtt follow:
// Find all newly acked packets.
for acked_packet in DetermineNewlyAckedPackets():
OnPacketAcked(acked_packet)

DetectLostPackets(ack.largest_acked_packet);
SetLossDetectionAlarm();


UpdateRtt(rtt_sample):
if (smoothed_rtt == 0):
smoothed_rtt = rtt_sample
Expand All @@ -376,8 +376,8 @@ Pseudocode for OnPacketAcked follows:
handshake_count = 0;
tlp_count = 0;
rto_count = 0;
# TODO: Don't remove packets immediately, since they can be used for detecting
# spurous retransmits.
# TODO: Don't remove packets immediately, since they can be used for
# detecting spurous retransmits.
sent_packets.remove(acked_packet);
~~~

Expand Down

0 comments on commit bf83371

Please sign in to comment.