Squid 配置指令 connect_retries
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | connect_retries |
|---|---|
| 替代 | |
| 要求 | |
| 默认值 | 请勿重试失败的连接。 |
| 建议配置 |
|
Limits the number of reopening attempts when establishing a single TCP connection. All these attempts must still complete before the applicable connection opening timeout expires. By default and when connect_retries is set to zero, Squid does not retry failed connection opening attempts. The (not recommended) maximum is 10 tries. An attempt to configure a higher value results in the value of 10 being used (with a warning). Squid may open connections to retry various high-level forwarding failures. For an outside observer, that activity may look like a low-level connection reopening attempt, but those high-level retries are governed by forward_max_tries instead. See also: connect_timeout, forward_timeout, icap_connect_timeout, and forward_max_tries. |
|
