diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2021-06-30 13:47:38 +0300 |
|---|---|---|
| committer | Roman Arutyunyan <arut@nginx.com> | 2021-06-30 13:47:38 +0300 |
| commit | d54d551e2a880c7a7691a83d212eb707eb0f82ba (patch) | |
| tree | c1b077f1f087252cbcc7308e296069e777e74f1d /src/event | |
| parent | 8f8f4840047aae94e3a69afb5a7541e13b3f66bf (diff) | |
| download | nginx-d54d551e2a880c7a7691a83d212eb707eb0f82ba.tar.gz nginx-d54d551e2a880c7a7691a83d212eb707eb0f82ba.tar.bz2 | |
QUIC: consider max_ack_delay=16384 invalid.
As per RFC 9000:
Values of 2^14 or greater are invalid.
Diffstat (limited to 'src/event')
| -rw-r--r-- | src/event/quic/ngx_event_quic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/quic/ngx_event_quic.c b/src/event/quic/ngx_event_quic.c index f0dd943a6..0d61be837 100644 --- 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_connection_t *c, ngx_quic_tp_t *ctp) 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"; |
