Skip to content

Commit

Permalink
moving a comment from code to its definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Aug 3, 2020
1 parent 23dd580 commit 5956eaa
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions draft-ietf-quic-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,9 @@ max_ack_delay:
: The maximum amount of time by which the receiver intends to delay
acknowledgments for packets in the Application Data packet number space. The
actual ack_delay in a received ACK frame may be larger due to late timers,
reordering, or lost ACK frames.
reordering, or lost ACK frames. max_ack_delay is initialized to 0 and
updated when transport parameters are exchanged. If a peer does not
specify max_ack_delay, it is set to 25ms.

loss_detection_timer:
: Multi-modal timer used for loss detection.
Expand Down Expand Up @@ -1129,10 +1131,6 @@ follows:
smoothed_rtt = kInitialRtt
rttvar = kInitialRtt / 2
min_rtt = 0
// max_ack_delay is initialized to 0 and
// updated when transport parameters are exchanged.
// If a peer does not specify max_ack_delay,
// it is set to 25ms.
max_ack_delay = 0
for pn_space in [ Initial, Handshake, ApplicationData ]:
largest_acked_packet[pn_space] = infinite
Expand Down

0 comments on commit 5956eaa

Please sign in to comment.