xin

Directive reference

keepalive_requests

Limits requests served on one client connection.

Syntaxkeepalive_requests number;
Contextshttpserverlocation
Defaultkeepalive_requests 1000;

Behavior

Retiring long-lived connections bounds per-connection allocations and gives configuration changes a chance to take effect.

Example

keepalive_requests 1000;

Related directives

keepalive_timeout