As per RFC 9000:
Values of 2^14 or greater are invalid.
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";
{
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");
{
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");