diff options
| author | Vladimir Homutov <vl@nginx.com> | 2020-06-16 11:54:05 +0300 |
|---|---|---|
| committer | Vladimir Homutov <vl@nginx.com> | 2020-06-16 11:54:05 +0300 |
| commit | 3b3264dc25a6d5da80c1641671737fc6505c45f1 (patch) | |
| tree | 45ed95f74c4bc239c5f277235a0bc293b7859b02 /src/misc/ngx_cpp_test_module.cpp | |
| parent | d6d7838c79b179ffafa661826cebbce34c425462 (diff) | |
| download | nginx-3b3264dc25a6d5da80c1641671737fc6505c45f1.tar.gz nginx-3b3264dc25a6d5da80c1641671737fc6505c45f1.tar.bz2 | |
QUIC: further limiting maximum QUIC packet size.
quic-transport draft 29, section 14:
QUIC depends upon a minimum IP packet size of at least 1280 bytes.
This is the IPv6 minimum size [RFC8200] and is also supported by most
modern IPv4 networks. Assuming the minimum IP header size, this
results in a QUIC maximum packet size of 1232 bytes for IPv6 and 1252
bytes for IPv4.
Since the packet size can change during connection lifetime, the
ngx_quic_max_udp_payload() function is introduced that currently
returns minimal allowed size, depending on address family.
Diffstat (limited to 'src/misc/ngx_cpp_test_module.cpp')
0 files changed, 0 insertions, 0 deletions
