Skip to content

Commit

Permalink
kGranularity not granularity
Browse files Browse the repository at this point in the history
  • Loading branch information
janaiyengar committed Dec 14, 2018
1 parent 9267dbb commit a9041b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions draft-ietf-quic-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ Pseudocode for SetLossDetectionTimer follows:
timeout = 2 * kInitialRtt
else:
timeout = 2 * smoothed_rtt
timeout = max(timeout, granularity)
timeout = max(timeout, kGranularity)
timeout = timeout * (2 ^ crypto_count)
loss_detection_timer.set(
time_of_last_sent_crypto_packet + timeout)
Expand All @@ -781,7 +781,7 @@ Pseudocode for SetLossDetectionTimer follows:
// Calculate PTO duration
timeout =
smoothed_rtt + 4 * rttvar + max_ack_delay
timeout = max(timeout, granularity)
timeout = max(timeout, kGranularity)
timeout = timeout * (2 ^ pto_count)

loss_detection_timer.set(
Expand Down

0 comments on commit a9041b4

Please sign in to comment.