[PATCH 2 of 2] QUIC: removed "quic_mtu" directive
Roman Arutyunyan
arut at nginx.com
Thu May 11 06:40:00 UTC 2023
Hi,
On Thu, May 11, 2023 at 10:26:34AM +0400, Roman Arutyunyan wrote:
> # HG changeset patch
> # User Roman Arutyunyan <arut at nginx.com>
> # Date 1683783928 -14400
> # Thu May 11 09:45:28 2023 +0400
> # Branch quic
> # Node ID 5db9c42c3d4bf862642b85d8f508257a1ad9c694
> # Parent d2cc7adb261edc92988411ac7e0c8059419c201d
> QUIC: removed "quic_mtu" directive.
>
> The directive used to set the value of the "max_udp_payload_size" transport
> parameter. According to RFC 9000, Section 18.2, the value specifies the size
> of buffer for reading incoming datagrams:
>
> This limit does act as an additional constraint on datagram size in
> the same way as the path MTU, but it is a property of the endpoint
> and not the path; see Section 14. It is expected that this is the
> space an endpoint dedicates to holding incoming packets.
>
> Current QUIC implementation uses the maximum possible buffer size (65527) for
> reading datagrams.
[..]
Plus README update:
diff --git a/README b/README
--- a/README
+++ b/README
@@ -123,10 +123,6 @@ 3. Configuration
quic_gso on;
- To limit maximum UDP payload size on receive path:
-
- quic_mtu <size>;
-
To set host key for various tokens:
quic_host_key <filename>;
@@ -209,14 +205,6 @@ 4. Directives
Optimized sending is only supported on Linux featuring UDP_SEGMENT.
- Syntax: quic_mtu size;
- Default: quic_mtu 65527;
- Context: http | stream, server
-
- Sets the QUIC max_udp_payload_size transport parameter value.
- This is the maximum UDP payload that we are willing to receive.
-
-
Syntax: quic_host_key file;
Default: -
Context: http | stream, server
--
Roman Arutyunyan
More information about the nginx-devel
mailing list