Squid 配置指令 accept_filter
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | accept_filter |
|---|---|
| 替代 | |
| 要求 | |
| 默认值 | none |
| 建议配置 |
# FreeBSD # Linux |
FreeBSD: The name of an accept(2) filter to install on Squid's listen socket(s). This feature is perhaps specific to FreeBSD and requires support in the kernel. The 'httpready' filter delays delivering new connections to Squid until a full HTTP request has been received. See the accf_http(9) man page for details. The 'dataready' filter delays delivering new connections to Squid until there is some data to process. See the accf_dataready(9) man page for details. Linux: The 'data' filter delays delivering of new connections to Squid until there is some data to process by TCP_ACCEPT_DEFER. You may optionally specify a number of seconds to wait by 'data=N' where N is the number of seconds. Defaults to 30 if not specified. See the tcp(7) man page for details. EXAMPLE: accept_filter httpready accept_filter data |
|
