From d54d551e2a880c7a7691a83d212eb707eb0f82ba Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Wed, 30 Jun 2021 13:47:38 +0300 Subject: QUIC: consider max_ack_delay=16384 invalid. As per RFC 9000: Values of 2^14 or greater are invalid. --- src/http/modules/ngx_http_quic_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http') diff --git a/src/http/modules/ngx_http_quic_module.c b/src/http/modules/ngx_http_quic_module.c index 2354dfd8b..d933dd1f9 100644 --- a/src/http/modules/ngx_http_quic_module.c +++ b/src/http/modules/ngx_http_quic_module.c @@ -394,7 +394,7 @@ ngx_http_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"); -- cgit