# HG changeset patch # User Roman Arutyunyan # Date 1683784174 -14400 # Node ID 3028db26a0f57fa19529e0c7ba090396eb1fc7ae # Parent 3bb003fcd682e4fea86ee3c2194067a1d2edfb8e QUIC: resized input datagram buffer from 65535 to 65527. The value of 65527 is the maximum permitted UDP payload size. diff -r 3bb003fcd682 -r 3028db26a0f5 src/event/quic/ngx_event_quic_udp.c --- a/src/event/quic/ngx_event_quic_udp.c Thu May 11 19:40:11 2023 +0400 +++ b/src/event/quic/ngx_event_quic_udp.c Thu May 11 09:49:34 2023 +0400 @@ -34,7 +34,7 @@ ngx_event_conf_t *ecf; ngx_connection_t *c, *lc; ngx_quic_socket_t *qsock; - static u_char buffer[65535]; + static u_char buffer[NGX_QUIC_MAX_UDP_PAYLOAD_SIZE]; #if (NGX_HAVE_ADDRINFO_CMSG) u_char msg_control[CMSG_SPACE(sizeof(ngx_addrinfo_t))];