diff src/http/modules/ngx_http_quic_module.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 9ec3e71f8a61
children 8ab0d609af09
line wrap: on
line diff
--- 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 *
 {
     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");