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

Limit the size of packets #501

Merged
merged 2 commits into from Jun 9, 2017
Merged
Changes from all commits
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: 11 additions & 0 deletions draft-ietf-quic-transport.md
Expand Up @@ -1052,6 +1052,7 @@ language from Section 3 of {{!I-D.ietf-tls-tls13}}.
initial_max_stream_id(2),
idle_timeout(3),
truncate_connection_id(4),
max_packet_size(5),
(65535)
} TransportParameterId;

Expand Down Expand Up @@ -1133,6 +1134,15 @@ truncate_connection_id (0x0004):
length. Omitting the parameter indicates that the endpoint relies on the
connection ID being present in every packet.

max_packet_size (0x0005):

: The maximum packet size parameter places a limit on the size of packets that
the endpoint is willing to receive, encoded as an unsigned 16-bit integer.
This indicates that packets larger than this limit will be dropped. The
default for this parameter is the maximum permitted UDP payload of 65527.
Values below 1252 are invalid. This limit only applies to protected packets
({{packet-protected}}).


### Values of Transport Parameters for 0-RTT {#zerortt-parameters}

Expand Down Expand Up @@ -3149,6 +3159,7 @@ The initial contents of this registry are shown in
| 0x0002 | initial_max_stream_id | {{transport-parameter-definitions}} |
| 0x0003 | idle_timeout | {{transport-parameter-definitions}} |
| 0x0004 | truncate_connection_id | {{transport-parameter-definitions}} |
| 0x0005 | max_packet_size | {{transport-parameter-definitions}} |
{: #iana-tp-table title="Initial QUIC Transport Parameters Entries"}


Expand Down