Skip to content

Commit

Permalink
Strengthen 2119 language around tokens.
Browse files Browse the repository at this point in the history
Rationale:

1. We should recommend that people use tokens.
2. Saying "SHOULD" attempt to validate seems weak. Why isn't this a
MUST? This is the weakest of these changes, I think.
  • Loading branch information
ekr authored and martinthomson committed Jan 28, 2019
1 parent 37f479d commit efe97ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions draft-ietf-quic-transport.md
Expand Up @@ -1652,7 +1652,7 @@ A token SHOULD be constructed to be easily distinguishable from tokens that are
sent in Retry packets as they are carried in the same field.

If the client has a token received in a NEW_TOKEN frame on a previous connection
to what it believes to be the same server, it can include that value in the
to what it believes to be the same server, it SHOULD include that value in the
Token field of its Initial packet.

A token allows a server to correlate activity between the connection where the
Expand All @@ -1671,7 +1671,7 @@ interface. A client needs to start the connection process over if it migrates
prior to completing the handshake.

When a server receives an Initial packet with an address validation token, it
SHOULD attempt to validate it, unless it has already completed address
MUST attempt to validate it, unless it has already completed address
validation. If the token is invalid then the server SHOULD proceed as if
the client did not have a validated address, including potentially sending
a Retry. If the validation succeeds, the server SHOULD then allow the
Expand Down

0 comments on commit efe97ac

Please sign in to comment.