Skip to content

Commit

Permalink
Rearrange the text, based on @marten-seeman's point that the intent o…
Browse files Browse the repository at this point in the history
…f the existing text has already been to forbid PTO timer to be armed for 1-RTT packets until the handshake completes, and that the pseudo-code is written as such
  • Loading branch information
kazuho authored and janaiyengar committed Aug 5, 2020
1 parent 6e54f3e commit 964fd96
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions draft-ietf-quic-recovery.md
Expand Up @@ -525,14 +525,17 @@ set based on the latest RTT information and for the last sent ack-eliciting
packet in the correct packet number space. When the PTO expires and there are
no ack-eliciting packets in flight, the PTO is set from that moment.

When setting the PTO timer, the ApplicationData packet number space (Section
4.1.1 of {{QUIC-TLS}}) MUST be ignored until the handshake completes. Not arming
the PTO for ApplicationData prevents a client from retransmitting a 0-RTT packet
on a PTO expiration before confirming that the server is able to decrypt 0-RTT
packets, and prevents a server from sending a 1-RTT packet on a PTO expiration
before the client obtains the keys to decrypt the 1-RTT packet (Section 4.1.4 of
{{QUIC-TLS}}) or before the server obtains the keys to process an
acknowledgement.

When ack-eliciting packets in multiple packet number spaces are in flight,
the timer MUST be set for the packet number space with the earliest timeout,
with one exception. The Application Data packet number space (Section 4.1.1
of {{QUIC-TLS}}) MUST be ignored until the handshake completes. Not arming
the PTO for Application Data prevents a client from retransmitting a 0-RTT
packet on a PTO expiration before confirming that the server is able to
decrypt 0-RTT packets, and prevents a server from sending a 1-RTT packet on
a PTO expiration before it has the keys to process an acknowledgement.
the timer MUST be set for the packet number space with the earliest timeout.

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
Expand Down

0 comments on commit 964fd96

Please sign in to comment.