Squid 配置指令 broken_posts
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | broken_posts |
|---|---|
| 替代 | |
| 要求 | --enable-http-violations |
| 默认值 | 遵循 RFC 2616。 |
| 建议配置 |
|
A list of ACL elements which, if matched, causes Squid to send an extra CRLF pair after the body of a PUT/POST request. Some HTTP servers has broken implementations of PUT/POST, and rely on an extra CRLF pair sent by some WWW clients. Quote from RFC2616 section 4.1 on this matter: Note: certain buggy HTTP/1.0 client implementations generate an extra CRLF's after a POST request. To restate what is explicitly forbidden by the BNF, an HTTP/1.1 client must not preface or follow a request with an extra CRLF. This clause only supports fast acl types. See https://wiki.squid.org.cn/SquidFaq/SquidAcl for details. Example: acl buggy_server url_regex ^http://.... broken_posts allow buggy_server |
|
