Squid configuration manual

Reference manual for squid's configuraiton directives

View the Project on GitHub

Index Alphabetical Index

Option Name:

broken_posts

Suggested Config:


Details:

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-cache.org/SquidFaq/SquidAcl for details.

Example: acl buggy_server url_regex ^http://…. broken_posts allow buggy_server

Index Alphabetical Index