Skip to content

Commit

Permalink
Martin's suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
ianswett authored Aug 27, 2019
1 parent 357c25f commit 9b9faa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draft-ietf-quic-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ OnAckReceived(ack, pn_space):

// If the largest acknowledged is newly acked and
// at least one ack-eliciting was newly acked, update the RTT.
if (sent_packets[pn_space][ack.largest_acked] &&
if (sent_packets[pn_space][ack.largest_acked] != null &&
IncludesAckEliciting(newly_acked_packets)):
latest_rtt =
now - sent_packets[pn_space][ack.largest_acked].time_sent
Expand Down

0 comments on commit 9b9faa8

Please sign in to comment.