Skip to content

Commit

Permalink
Merge pull request #2383 from quicwg/ianswett-set-update
Browse files Browse the repository at this point in the history
Change loss_detection_alarm.set() to update()
  • Loading branch information
janaiyengar committed Feb 1, 2019
2 parents 14f3edd + a3dac02 commit 281707b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions draft-ietf-quic-recovery.md
Expand Up @@ -830,12 +830,12 @@ Pseudocode for SetLossDetectionTimer follows:
timeout = 2 * smoothed_rtt
timeout = max(timeout, kGranularity)
timeout = timeout * (2 ^ crypto_count)
loss_detection_timer.set(
loss_detection_timer.update(
time_of_last_sent_crypto_packet + timeout)
return
if (loss_time != 0):
// Time threshold loss detection.
loss_detection_timer.set(loss_time)
loss_detection_timer.update(loss_time)
return

// Calculate PTO duration
Expand All @@ -844,7 +844,7 @@ Pseudocode for SetLossDetectionTimer follows:
timeout = max(timeout, kGranularity)
timeout = timeout * (2 ^ pto_count)

loss_detection_timer.set(
loss_detection_timer.update(
time_of_last_sent_ack_eliciting_packet + timeout)
~~~

Expand Down

0 comments on commit 281707b

Please sign in to comment.