Mercurial > hg > nginx-quic
diff src/event/quic/ngx_event_quic.c @ 8507:f8ad3dd142ad quic
QUIC: consider max_ack_delay=16384 invalid.
As per RFC 9000:
Values of 2^14 or greater are invalid.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 30 Jun 2021 13:47:38 +0300 |
parents | 4715f3e669f1 |
children | 7f29db5294bd |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic.c +++ b/src/event/quic/ngx_event_quic.c @@ -176,7 +176,7 @@ ngx_quic_apply_transport_params(ngx_conn return NGX_ERROR; } - if (ctp->max_ack_delay > 16384) { + if (ctp->max_ack_delay >= 16384) { qc->error = NGX_QUIC_ERR_TRANSPORT_PARAMETER_ERROR; qc->error_reason = "invalid max_ack_delay";