Skip to content

Commit

Permalink
Define the packet type more precisely
Browse files Browse the repository at this point in the history
  • Loading branch information
martinthomson committed Oct 9, 2017
1 parent 83e2881 commit 53466f0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions draft-ietf-quic-transport.md
Expand Up @@ -1572,12 +1572,13 @@ A server copies the connection ID field from the packet that triggers the
stateless reset. A server omits the connection ID if explicitly configured to
do so, or if the client packet did not include a connection ID.

The Packet Number field is set to a randomized value. This packet SHOULD use
the short header form with the shortest possible packet number encoding. This
minimizes the perceived gap between the last packet that the server sent and
this packet. A server MAY use a different short header type, indicating a
different packet number length, but this allows for the message to be identified
as a stateless reset more easily using heuristics.
The Packet Number field is set to a randomized value. The server SHOULD send a
packet with a short header and a type of 0x01. This produces the shortest
possible packet number encoding, which minimizes the perceived gap between the
last packet that the server sent and this packet. A server MAY use a different
short header type, indicating a different packet number length, but this allows
for the message to be identified as a stateless reset more easily using
heuristics.

After the first short header octet and optional connection ID, the server
includes the value of the Stateless Reset Token that it included in its
Expand Down

0 comments on commit 53466f0

Please sign in to comment.