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

Allow servers to send a preferred address of each address family #2296

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
11 changes: 6 additions & 5 deletions draft-ietf-quic-transport.md
Expand Up @@ -2119,9 +2119,10 @@ transport parameter in the TLS handshake.
Servers MAY communicate a preferred address of each address family (IPv4 and
DavidSchinazi marked this conversation as resolved.
Show resolved Hide resolved
IPv6) to allow clients to pick the one most suited to their network attachment.
DavidSchinazi marked this conversation as resolved.
Show resolved Hide resolved

Once the handshake is finished, the client SHOULD initiate path validation (see
{{migrate-validate}}) of the server's preferred address using the connection ID
provided in the preferred_address transport parameter.
Once the handshake is finished, the client SHOULD select one of the two
server's preferred addresses and initiate path validation (see
{{migrate-validate}}) of that address using the connection ID provided in the
preferred_address transport parameter.

If path validation succeeds, the client SHOULD immediately begin sending all
future packets to the new server address using the new connection ID and
Expand Down Expand Up @@ -4101,7 +4102,7 @@ preferred_address (0x000d):
: The server's preferred address is used to effect a change in server address at
the end of the handshake, as described in {{preferred-address}}. The format
of this transport parameter is the PreferredAddress struct shown in
{{fig-preffered-address}}. This transport parameter is only sent by a server.
{{fig-preferred-address}}. This transport parameter is only sent by a server.
Servers MAY choose to only send a preferred address of one address family by
sending an all-zero address and port (0.0.0.0:0 or ::.0) for the other family.

Expand All @@ -4115,7 +4116,7 @@ preferred_address (0x000d):
opaque statelessResetToken[16];
} PreferredAddress;
~~~
{: #fig-preffered-address title="Preferred Address format"}
{: #fig-preferred-address title="Preferred Address format"}

If present, transport parameters that set initial flow control limits
(initial_max_stream_data_bidi_local, initial_max_stream_data_bidi_remote, and
Expand Down