]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Forward port of all the header parsing cleanup of 2.5.STABLE8:
authorserassio <>
Sun, 6 Mar 2005 21:52:49 +0000 (21:52 +0000)
committerserassio <>
Sun, 6 Mar 2005 21:52:49 +0000 (21:52 +0000)
- squid-2.5.STABLE7-header_parsing.patch
- Bug #1228
- Bug #1242
- Relaxed_header_parser squid.conf option.
- New ERR_INVALID_RESP error message.

src/cf.data.pre

index 60022f785265b7d23373ece4475a2aa2be69a8ab..144a489d9786ff8a60e7f01188ea700f6b6f9603 100644 (file)
@@ -1,6 +1,6 @@
 
 #
-# $Id: cf.data.pre,v 1.377 2005/03/02 20:57:34 hno Exp $
+# $Id: cf.data.pre,v 1.378 2005/03/06 14:52:49 serassio Exp $
 #
 #
 # SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -4604,4 +4604,23 @@ DOC_START
        often be best set to 0.
 DOC_END
 
+NAME: relaxed_header_parser
+COMMENT: on|off|warn
+TYPE: tristate
+LOC: Config.onoff.relaxed_header_parser
+DEFAULT: on
+DOC_START
+       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.
+DOC_END
+
 EOF