From: serassio <> Date: Sun, 6 Mar 2005 21:52:49 +0000 (+0000) Subject: Forward port of all the header parsing cleanup of 2.5.STABLE8: X-Git-Tag: SQUID_3_0_PRE4~862 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=df6fd596c4973b2232ea76b338b4dd9660cf1536;p=thirdparty%2Fsquid.git Forward port of all the header parsing cleanup of 2.5.STABLE8: - squid-2.5.STABLE7-header_parsing.patch - Bug #1228 - Bug #1242 - Relaxed_header_parser squid.conf option. - New ERR_INVALID_RESP error message. --- diff --git a/src/cf.data.pre b/src/cf.data.pre index 60022f7852..144a489d97 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -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