Mercurial > hg > nginx
diff src/event/quic/ngx_event_quic_connection.h @ 9194:a6f79f044de5
QUIC: path revalidation after expansion failure.
As per RFC 9000, Section 8.2.1:
When an endpoint is unable to expand the datagram size to 1200 bytes due
to the anti-amplification limit, the path MTU will not be validated.
To ensure that the path MTU is large enough, the endpoint MUST perform a
second path validation by sending a PATH_CHALLENGE frame in a datagram of
at least 1200 bytes.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 29 Nov 2023 10:58:21 +0400 |
parents | fcec773dd249 |
children | ff452f283aa9 |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_connection.h Thu Nov 30 15:03:06 2023 +0400 +++ b/src/event/quic/ngx_event_quic_connection.h Wed Nov 29 10:58:21 2023 +0400 @@ -111,7 +111,8 @@ uint64_t mtu_pnum[NGX_QUIC_PATH_RETRIES]; ngx_str_t addr_text; u_char text[NGX_SOCKADDR_STRLEN]; - ngx_uint_t validated; /* unsigned validated:1; */ + unsigned validated:1; + unsigned mtu_unvalidated:1; };