Skip to content

Commit

Permalink
Script updating gh-pages from b29886b. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
ID Bot committed Apr 9, 2019
1 parent e8e53da commit 35fa9a6
Show file tree
Hide file tree
Showing 3 changed files with 955 additions and 946 deletions.
23 changes: 16 additions & 7 deletions draft-ietf-quic-recovery.html
Expand Up @@ -1240,19 +1240,14 @@ <h2 id="rfc.appendix.A.8">
return time, space

SetLossDetectionTimer():
// Don't arm timer if there are no ack-eliciting packets
// in flight.
if (no ack-eliciting packets in flight):
loss_detection_timer.cancel()
return

loss_time, _ = GetEarliestLossTime()
if (loss_time != 0):
// Time threshold loss detection.
loss_detection_timer.update(loss_time)
return

if (crypto packets are in flight):
if (crypto packets are in flight
|| endpoint is client without 1-RTT keys):
// Crypto retransmission timer.
if (smoothed_rtt == 0):
timeout = 2 * kInitialRtt
Expand All @@ -1264,6 +1259,12 @@ <h2 id="rfc.appendix.A.8">
time_of_last_sent_crypto_packet + timeout)
return

// Don't arm timer if there are no ack-eliciting packets
// in flight.
if (no ack-eliciting packets in flight):
loss_detection_timer.cancel()
return

// Calculate PTO duration
timeout =
smoothed_rtt + max(4 * rttvar, kGranularity) + max_ack_delay
Expand All @@ -1289,6 +1290,14 @@ <h2 id="rfc.appendix.A.9">
// Crypto retransmission timeout.
RetransmitUnackedCryptoData()
crypto_count++
else if (endpoint is client without 1-RTT keys):
// Send anti-deadlock packet: padded to earn more anti-
// amplification credit, unpadded to prove address ownership.
if (has Handshake keys):
SendOneHandshakePacket()
else:
SendOnePaddedInitialPacket()
crypto_count++
else:
// PTO
SendOneOrTwoPackets()
Expand Down
32 changes: 16 additions & 16 deletions draft-ietf-quic-recovery.txt
Expand Up @@ -1527,19 +1527,14 @@ Internet-Draft QUIC Loss Detection April 2019
return time, space

SetLossDetectionTimer():
// Don't arm timer if there are no ack-eliciting packets
// in flight.
if (no ack-eliciting packets in flight):
loss_detection_timer.cancel()
return

loss_time, _ = GetEarliestLossTime()
if (loss_time != 0):
// Time threshold loss detection.
loss_detection_timer.update(loss_time)
return

if (crypto packets are in flight):
if (crypto packets are in flight
|| endpoint is client without 1-RTT keys):
// Crypto retransmission timer.
if (smoothed_rtt == 0):
timeout = 2 * kInitialRtt
Expand All @@ -1551,6 +1546,12 @@ Internet-Draft QUIC Loss Detection April 2019
time_of_last_sent_crypto_packet + timeout)
return

// Don't arm timer if there are no ack-eliciting packets
// in flight.
if (no ack-eliciting packets in flight):
loss_detection_timer.cancel()
return

// Calculate PTO duration
timeout =
smoothed_rtt + max(4 * rttvar, kGranularity) + max_ack_delay
Expand All @@ -1564,7 +1565,6 @@ Internet-Draft QUIC Loss Detection April 2019




Iyengar & Swett Expires October 11, 2019 [Page 28]

Internet-Draft QUIC Loss Detection April 2019
Expand All @@ -1588,6 +1588,14 @@ A.9. On Timeout
// Crypto retransmission timeout.
RetransmitUnackedCryptoData()
crypto_count++
else if (endpoint is client without 1-RTT keys):
// Send anti-deadlock packet: padded to earn more anti-
// amplification credit, unpadded to prove address ownership.
if (has Handshake keys):
SendOneHandshakePacket()
else:
SendOnePaddedInitialPacket()
crypto_count++
else:
// PTO
SendOneOrTwoPackets()
Expand All @@ -1613,14 +1621,6 @@ A.10. Detecting Lost Packets











Iyengar & Swett Expires October 11, 2019 [Page 29]

Internet-Draft QUIC Loss Detection April 2019
Expand Down

0 comments on commit 35fa9a6

Please sign in to comment.