--------------------- PatchSet 11318 Date: 2007/03/11 22:41:16 Author: hno Branch: HEAD Tag: (none) Log: Strengthened the HTTP parser a bit too much, also rejecting valid headers.. Members: src/HttpHeader.c:1.93->1.94 Index: squid/src/HttpHeader.c =================================================================== RCS file: /cvsroot/squid/squid/src/HttpHeader.c,v retrieving revision 1.93 retrieving revision 1.94 diff -u -r1.93 -r1.94 --- squid/src/HttpHeader.c 11 Mar 2007 22:34:22 -0000 1.93 +++ squid/src/HttpHeader.c 11 Mar 2007 22:41:16 -0000 1.94 @@ -1,6 +1,6 @@ /* - * $Id: HttpHeader.c,v 1.93 2007/03/11 22:34:22 hno Exp $ + * $Id: HttpHeader.c,v 1.94 2007/03/11 22:41:16 hno Exp $ * * DEBUG: section 55 HTTP Header * AUTHOR: Alex Rousskov @@ -508,7 +508,7 @@ httpHeaderEntryDestroy(e); continue; } - } else { + } else if (e2) { debug(55, Config.onoff.relaxed_header_parser <= 0 ? 1 : 2) ("NOTICE: found double content-length header\n"); if (Config.onoff.relaxed_header_parser) {