diff src/stream/ngx_stream_quic_module.c @ 8806: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 b4e6b7049984
children 8ab0d609af09
line wrap: on
line diff
--- 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
 {
     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");