Skip to content

Commit

Permalink
Change loss_detection_alarm.set() to update()
Browse files Browse the repository at this point in the history
Editorial suggestion from Yoshifumi Nishida
  • Loading branch information
ianswett committed Jan 29, 2019
1 parent d947b2f commit a3dac02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions draft-ietf-quic-recovery.md
Expand Up @@ -831,12 +831,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 @@ -845,7 +845,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 a3dac02

Please sign in to comment.