]> git.kaiwu.me - nginx.git/commit
QUIC: removed "quic_mtu" directive.
authorRoman Arutyunyan <arut@nginx.com>
Thu, 11 May 2023 06:37:51 +0000 (10:37 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 11 May 2023 06:37:51 +0000 (10:37 +0400)
commit6cc803e713698b4b09ab46ccd7ae986faa55c386
treec0c7289508be1f8a86890b9b34096e5a4c245613
parent9ab5d15379a26b32d93c706d63fd3f9f241459e0
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.
README
src/event/quic/ngx_event_quic.h
src/event/quic/ngx_event_quic_transport.c
src/http/v3/ngx_http_v3_module.c
src/stream/ngx_stream_quic_module.c