-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This was a little obtuse; it would benefit from a clearer description of what the token is and how it is used. Closes #4285.
- Loading branch information
1 parent
56c35e6
commit fea5481
Showing
1 changed file
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2961,13 +2961,18 @@ A stateless reset is not appropriate for indicating errors in active | |
connections. An endpoint that wishes to communicate a fatal connection error | ||
MUST use a CONNECTION_CLOSE frame if it is able. | ||
|
||
To support this process, a token is sent by endpoints. The token is carried in | ||
the Stateless Reset Token field of a NEW_CONNECTION_ID frame. Servers can also | ||
specify a stateless_reset_token transport parameter during the handshake that | ||
applies to the connection ID that it selected during the handshake; clients | ||
cannot use this transport parameter because their transport parameters do not | ||
have confidentiality protection. These tokens are protected by encryption, so | ||
only client and server know their value. Tokens are invalidated when their | ||
To support this process, an endpoint can issue a stateless reset token, which | ||
This comment has been minimized.
Sorry, something went wrong. |
||
is a 16 byte value that is hard to guess. If that endpoint sends a stateless | ||
This comment has been minimized.
Sorry, something went wrong. |
||
reset, a UDP datagram that ends in the stateless reset token, the recipient | ||
will immediately end the connection. | ||
|
||
A stateless reset token is issued by including the value in the Stateless Reset | ||
Token field of a NEW_CONNECTION_ID frame. Servers can also issue a | ||
stateless_reset_token transport parameter during the handshake that applies to | ||
the connection ID that it selected during the handshake; clients cannot use | ||
this transport parameter because their transport parameters do not have | ||
confidentiality protection. These tokens are protected by encryption, so only | ||
This comment has been minimized.
Sorry, something went wrong.
MikeBishop
Contributor
|
||
client and server know their value. Tokens are invalidated when their | ||
associated connection ID is retired via a RETIRE_CONNECTION_ID frame | ||
({{frame-retire-connection-id}}). | ||
|
||
|
"can issue" => "issues"
SRTs aren't optional -- you're required to mint one for every CID.