Squid 配置指令 relaxed_header_parser
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | relaxed_header_parser |
|---|---|
| 替代 | |
| 要求 | |
| 默认值 | relaxed_header_parser on |
| 建议配置 |
|
In the default "on" setting Squid accepts certain forms of non-compliant HTTP messages where it is unambiguous what the sending application intended even if the message is not correctly formatted. The messages is then normalized to the correct form when forwarded by Squid. If set to "warn" then a warning will be emitted in cache.log each time such HTTP error is encountered. If set to "off" then such HTTP errors will cause the request or response to be rejected. |
|
