Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle reordered NEW_CONNECTION_ID frames #3202

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 9 additions & 13 deletions draft-ietf-quic-transport.md
Expand Up @@ -5409,26 +5409,22 @@ sequence number, or if a sequence number is used for different connection
IDs, the endpoint MAY treat that receipt as a connection error of type
PROTOCOL_VIOLATION.

The Retire Prior To field is a request for the peer to retire all connection IDs
with a sequence number less than the specified value. This includes the initial
and preferred_address transport parameter connection IDs. The peer SHOULD
retire the corresponding connection IDs and send the corresponding
RETIRE_CONNECTION_ID frames in a timely manner.

An endpoint that receives a NEW_CONNECTION_ID frame with a sequence number
smaller than the Retire Prior To field of a previously received
NEW_CONNECTION_ID frame MUST immediately send a corresponding
RETIRE_CONNECTION_ID frame that retires the newly received connection ID.

The Retire Prior To field MUST be less than or equal to the Sequence Number
field. Receiving a value greater than the Sequence Number MUST be treated as a
The Retire Prior To field counts connection IDs established during connection
setup and the preferred_address transport parameter (see {{retiring-cids}}). The
Retire Prior To field MUST be less than or equal to the Sequence Number field.
Receiving a value greater than the Sequence Number MUST be treated as a
connection error of type FRAME_ENCODING_ERROR.

Once a sender indicates a Retire Prior To value, smaller values sent in
subsequent NEW_CONNECTION_ID frames have no effect. A receiver MUST ignore any
Retire Prior To fields that do not increase the largest received Retire Prior To
value.

An endpoint that receives a NEW_CONNECTION_ID frame with a sequence number
smaller than the Retire Prior To field of a previously received
NEW_CONNECTION_ID frame MUST immediately send a corresponding
RETIRE_CONNECTION_ID frame that retires the newly received connection ID.


## RETIRE_CONNECTION_ID Frame {#frame-retire-connection-id}

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.