From 58efd319c877ec601f13c80364432982cb25cc9b Mon Sep 17 00:00:00 2001 From: Jana Iyengar Date: Mon, 11 Jan 2021 23:05:06 -0800 Subject: [PATCH 1/3] PTO is restarted on handshake confirmation --- draft-ietf-quic-recovery.md | 1 - 1 file changed, 1 deletion(-) diff --git a/draft-ietf-quic-recovery.md b/draft-ietf-quic-recovery.md index 0e771fcdd0..f70b0f294d 100644 --- a/draft-ietf-quic-recovery.md +++ b/draft-ietf-quic-recovery.md @@ -603,7 +603,6 @@ therefore read these 1-RTT packets. A sender SHOULD restart its PTO timer every time an ack-eliciting packet is sent or acknowledged, when the handshake is confirmed (Section 4.1.2 of -{{QUIC-TLS}}), or when Initial or Handshake keys are discarded (Section 4.9 of {{QUIC-TLS}}). This ensures the PTO is always set based on the latest estimate of the round-trip time and for the correct packet across packet number spaces. From fdfcc4827e35f8902a738a0d7f28693963c43583 Mon Sep 17 00:00:00 2001 From: Jana Iyengar Date: Tue, 12 Jan 2021 16:20:43 -0800 Subject: [PATCH 2/3] initial keys are a different moment --- draft-ietf-quic-recovery.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/draft-ietf-quic-recovery.md b/draft-ietf-quic-recovery.md index f70b0f294d..b13b9a68de 100644 --- a/draft-ietf-quic-recovery.md +++ b/draft-ietf-quic-recovery.md @@ -602,9 +602,10 @@ before confirming that the client has verified the server's certificate and can therefore read these 1-RTT packets. A sender SHOULD restart its PTO timer every time an ack-eliciting packet is sent -or acknowledged, when the handshake is confirmed (Section 4.1.2 of -{{QUIC-TLS}}). This ensures the PTO is always set based on the latest estimate -of the round-trip time and for the correct packet across packet number spaces. +or acknowledged, when Initial keys are discarded (Section 4.9 of {{QUIC-TLS}}), +or when the handshake is confirmed (Section 4.1.2 of {{QUIC-TLS}}). This ensures +the PTO is always set based on the latest estimate of the round-trip time and +for the correct packet across packet number spaces. When a PTO timer expires, the PTO backoff MUST be increased, resulting in the PTO period being set to twice its current value. The PTO backoff factor is reset From 161d0599c97dd336873e4ef93d94f95074da887f Mon Sep 17 00:00:00 2001 From: Jana Iyengar Date: Tue, 12 Jan 2021 16:33:30 -0800 Subject: [PATCH 3/3] parallel is better --- draft-ietf-quic-recovery.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/draft-ietf-quic-recovery.md b/draft-ietf-quic-recovery.md index b13b9a68de..39c08561e5 100644 --- a/draft-ietf-quic-recovery.md +++ b/draft-ietf-quic-recovery.md @@ -602,10 +602,9 @@ before confirming that the client has verified the server's certificate and can therefore read these 1-RTT packets. A sender SHOULD restart its PTO timer every time an ack-eliciting packet is sent -or acknowledged, when Initial keys are discarded (Section 4.9 of {{QUIC-TLS}}), -or when the handshake is confirmed (Section 4.1.2 of {{QUIC-TLS}}). This ensures -the PTO is always set based on the latest estimate of the round-trip time and -for the correct packet across packet number spaces. +or acknowledged, or when Initial or Handshake keys are discarded (Section 4.9 of +{{QUIC-TLS}}). This ensures the PTO is always set based on the latest estimate +of the round-trip time and for the correct packet across packet number spaces. When a PTO timer expires, the PTO backoff MUST be increased, resulting in the PTO period being set to twice its current value. The PTO backoff factor is reset