Squid 配置指令 pconn_lifetime

可用版本:   v6   v5   v4  

此指令在 Squid 的 v8 版本中不可用。

对于 v5 之前的旧版本,请参阅以上链接页面。

配置详情

选项名称pconn_lifetime
替代
要求
默认值pconn_lifetime 0 秒
建议配置

      
	Desired maximum lifetime of a persistent connection.
	When set, Squid will close a now-idle persistent connection that
	exceeded configured lifetime instead of moving the connection into
	the idle connection pool (or equivalent). No effect on ongoing/active
	transactions. Connection lifetime is the time period from the
	connection acceptance or opening time until "now".

	This limit is useful in environments with long-lived connections
	where Squid configuration or environmental factors change during a
	single connection lifetime. If unrestricted, some connections may
	last for hours and even days, ignoring those changes that should
	have affected their behavior or their existence.

	Currently, a new lifetime value supplied via Squid reconfiguration
	has no effect on already idle connections unless they become busy.

	When set to '0' this limit is not used.

 

返回

 

简介

文档

支持

杂项