aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_quic_module.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2021-06-30 13:47:38 +0300
committerRoman Arutyunyan <arut@nginx.com>2021-06-30 13:47:38 +0300
commitd54d551e2a880c7a7691a83d212eb707eb0f82ba (patch)
treec1b077f1f087252cbcc7308e296069e777e74f1d /src/stream/ngx_stream_quic_module.c
parent8f8f4840047aae94e3a69afb5a7541e13b3f66bf (diff)
downloadnginx-d54d551e2a880c7a7691a83d212eb707eb0f82ba.tar.gz
nginx-d54d551e2a880c7a7691a83d212eb707eb0f82ba.zip
QUIC: consider max_ack_delay=16384 invalid.
As per RFC 9000: Values of 2^14 or greater are invalid.
Diffstat (limited to 'src/stream/ngx_stream_quic_module.c')
-rw-r--r--src/stream/ngx_stream_quic_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream/ngx_stream_quic_module.c b/src/stream/ngx_stream_quic_module.c
index 6567b16cf..01caa9555 100644
--- a/src/stream/ngx_stream_quic_module.c
+++ b/src/stream/ngx_stream_quic_module.c
@@ -354,7 +354,7 @@ ngx_stream_quic_max_ack_delay(ngx_conf_t *cf, void *post, void *data)
{
ngx_msec_t *sp = data;
- if (*sp > 16384) {
+ if (*sp >= 16384) {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
"\"quic_max_ack_delay\" must be less than 16384");