Skip to content

Commit

Permalink
Update draft-ietf-quic-recovery.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ianswett committed Oct 2, 2018
1 parent 4fc23d7 commit 037bb0e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions draft-ietf-quic-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ delay may come into play, regardless of the number of packets outstanding.
TCP's TLP assumes if at least 2 packets are outstanding, acks will not be
delayed.

A PTO values of at least 1.5*SRTT and 2*SRTT ensures that the ACK is overdue.
A PTO values of at least 1.5*SRTT ensures that the ACK is overdue.
Both constants are based on {{?TLP}}, but implementations MAY experiment with
other constants.

Expand Down Expand Up @@ -828,12 +828,8 @@ Pseudocode for SetLossDetectionTimer follows:
timeout = timeout * (2 ^ rto_count)
if (tlp_count < kMaxTLPs):
// Tail Loss Probe
if (bytes_in_flight < 2 * kMaxDatagramSize):
// Less than two full-sized packets in flight.
tlp_timeout = max(1.5 * smoothed_rtt
+ max_ack_delay, kMinTLPTimeout)
else:
tlp_timeout = max(2 * smoothed_rtt, kMinTLPTimeout)
tlp_timeout = max(1.5 * smoothed_rtt
+ max_ack_delay, kMinTLPTimeout)
timeout = min(tlp_timeout, timeout)

loss_detection_timer.set(
Expand Down

0 comments on commit 037bb0e

Please sign in to comment.