Name

client_lifetime

Synopsis

This timeout specifies the maximum amount of time for a client connection. In most cases, client connections should never last longer than a few hours. Long-lived client connections may be the result of a network outage, user-agent bugs, or mischievous activity.

Syntax

client_lifetime time-specification

Default

client_lifetime 1 day

Example

client_lifetime 3 hours

Related

read_timeout

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.