Skip to content

Commit

Permalink
Script updating gh-pages from d501282. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
ID Bot committed May 1, 2020
1 parent a3b641b commit 684bce6
Show file tree
Hide file tree
Showing 3 changed files with 1,526 additions and 1,519 deletions.
17 changes: 12 additions & 5 deletions draft-ietf-quic-recovery.html
Original file line number Diff line number Diff line change
Expand Up @@ -2662,16 +2662,23 @@ <h2 id="name-setting-the-loss-detection-">
loss_detection_timer.cancel()
return

// Determine which PN space to arm PTO for.
sent_time, pn_space = GetEarliestTimeAndSpace(
time_of_last_sent_ack_eliciting_packet)
// Don't arm PTO for ApplicationData until handshake complete.
if (pn_space == ApplicationData &amp;&amp;
handshake is not confirmed):
loss_detection_timer.cancel()
return
if (sent_time == 0):
assert(!PeerCompletedAddressValidation())
sent_time = now()

// Calculate PTO duration
timeout = smoothed_rtt + max(4 * rttvar, kGranularity) +
max_ack_delay
timeout = timeout * (2 ^ pto_count)

sent_time, _ = GetEarliestTimeAndSpace(
time_of_last_sent_ack_eliciting_packet)
if (sent_time == 0)
assert(!PeerCompletedAddressValidation())
sent_time = now()
loss_detection_timer.update(sent_time + timeout)
</pre><a href="#section-a.7-4" class="pilcrow"></a>
</div>
Expand Down
28 changes: 14 additions & 14 deletions draft-ietf-quic-recovery.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1707,37 +1707,39 @@ Internet-Draft QUIC Loss Detection May 2020
loss_detection_timer.cancel()
return

// Determine which PN space to arm PTO for.
sent_time, pn_space = GetEarliestTimeAndSpace(
time_of_last_sent_ack_eliciting_packet)
// Don't arm PTO for ApplicationData until handshake complete.
if (pn_space == ApplicationData &&
handshake is not confirmed):
loss_detection_timer.cancel()
return
if (sent_time == 0):
assert(!PeerCompletedAddressValidation())
sent_time = now()

// Calculate PTO duration
timeout = smoothed_rtt + max(4 * rttvar, kGranularity) +
max_ack_delay
timeout = timeout * (2 ^ pto_count)

sent_time, _ = GetEarliestTimeAndSpace(
time_of_last_sent_ack_eliciting_packet)
if (sent_time == 0)
assert(!PeerCompletedAddressValidation())
sent_time = now()
loss_detection_timer.update(sent_time + timeout)

A.8. On Timeout

When the loss detection timer expires, the timer's mode determines
the action to be performed.

Pseudocode for OnLossDetectionTimeout follows:








Iyengar & Swett Expires 2 November 2020 [Page 31]

Internet-Draft QUIC Loss Detection May 2020


Pseudocode for OnLossDetectionTimeout follows:

OnLossDetectionTimeout():
earliest_loss_time, pn_space =
GetEarliestTimeAndSpace(loss_time)
Expand Down Expand Up @@ -1787,8 +1789,6 @@ A.9. Detecting Lost Packets





Iyengar & Swett Expires 2 November 2020 [Page 32]

Internet-Draft QUIC Loss Detection May 2020
Expand Down
Loading

0 comments on commit 684bce6

Please sign in to comment.