mirror of
https://github.com/nginx/nginx.git
synced 2024-11-21 16:28:40 +00:00
QUIC: resized input datagram buffer from 65535 to 65527.
The value of 65527 is the maximum permitted UDP payload size.
This commit is contained in:
parent
885c488191
commit
9ab5d15379
@ -34,7 +34,7 @@ ngx_quic_recvmsg(ngx_event_t *ev)
|
||||
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))];
|
||||
|
Loading…
Reference in New Issue
Block a user