quic_active_connection_id_limit

Controls the maximum number of active connection IDs to be used for QUIC connections.

Syntaxquic_active_connection_id_limit number;
Defaultnone
Contexthttp, server
Arguments1

Description

The quic_active_connection_id_limit directive in NGINX specifies the limit on the number of active connection IDs that can be used for QUIC (Quick UDP Internet Connections) protocol. QUIC is designed for faster and more efficient connection management over the internet by addressing some limitations of TCP. By setting this directive, administrators can define how many different connection identifiers QUIC can rotate through for a particular server or context, improving resilience against connection ID exhaustion in scenarios where clients switch networks frequently.

The value of this directive must be a positive integer and is applied at both the http and server level contexts. When a client initiates communication using QUIC, it may change its connection IDs multiple times for performance and security reasons. This directive ensures that the server maintains a manageable number of connection IDs in use, preventing resource waste and possible denial-of-service (DoS) scenarios. Setting a value too low may restrict performance if many changing connections happen simultaneously, whereas setting it too high may lead to increased resource consumption at the server level.

Config Example

http {
    server {
        listen 443 quic;
        quic_active_connection_id_limit 100;
    }
}

Setting the limit too low may cause issues with clients frequently changing their connection IDs, leading to connection failures.

Setting the limit too high may unnecessarily consume server resources.

Ensure that QUIC is properly configured and supported by the server to use this directive effectively.

← Back to all directives