Mercurial > hg > nginx
comparison README @ 9103:b9230e37b8a1 quic
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.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Thu, 11 May 2023 10:37:51 +0400 |
parents | 8347620e0e76 |
children | 113e2438dbd4 |
comparison
equal
deleted
inserted
replaced
9102:3028db26a0f5 | 9103:b9230e37b8a1 |
---|---|
121 | 121 |
122 To enable GSO (Generic Segmentation Offloading): | 122 To enable GSO (Generic Segmentation Offloading): |
123 | 123 |
124 quic_gso on; | 124 quic_gso on; |
125 | 125 |
126 To limit maximum UDP payload size on receive path: | |
127 | |
128 quic_mtu <size>; | |
129 | |
130 To set host key for various tokens: | 126 To set host key for various tokens: |
131 | 127 |
132 quic_host_key <filename>; | 128 quic_host_key <filename>; |
133 | 129 |
134 QUIC requires TLSv1.3 protocol, which is enabled by the default | 130 QUIC requires TLSv1.3 protocol, which is enabled by the default |
205 Default: quic_gso off; | 201 Default: quic_gso off; |
206 Context: http | stream, server | 202 Context: http | stream, server |
207 | 203 |
208 Enables sending in optimized batch mode using segmentation offloading. | 204 Enables sending in optimized batch mode using segmentation offloading. |
209 Optimized sending is only supported on Linux featuring UDP_SEGMENT. | 205 Optimized sending is only supported on Linux featuring UDP_SEGMENT. |
210 | |
211 | |
212 Syntax: quic_mtu size; | |
213 Default: quic_mtu 65527; | |
214 Context: http | stream, server | |
215 | |
216 Sets the QUIC max_udp_payload_size transport parameter value. | |
217 This is the maximum UDP payload that we are willing to receive. | |
218 | 206 |
219 | 207 |
220 Syntax: quic_host_key file; | 208 Syntax: quic_host_key file; |
221 Default: - | 209 Default: - |
222 Context: http | stream, server | 210 Context: http | stream, server |