--------------------- PatchSet 10377 Date: 2008/01/06 10:25:07 Author: adri Branch: s27_adri Tag: (none) Log: .. and thats where my parser code was busted. Thanks! Members: libhttp/HttpHeader.c:1.1.2.4->1.1.2.5 Index: squid/libhttp/HttpHeader.c =================================================================== RCS file: /cvsroot/squid-sf//squid/libhttp/Attic/HttpHeader.c,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -u -r1.1.2.4 -r1.1.2.5 --- squid/libhttp/HttpHeader.c 6 Jan 2008 10:13:39 -0000 1.1.2.4 +++ squid/libhttp/HttpHeader.c 6 Jan 2008 10:25:07 -0000 1.1.2.5 @@ -1,6 +1,6 @@ /* - * $Id: HttpHeader.c,v 1.1.2.4 2008/01/06 10:13:39 adri Exp $ + * $Id: HttpHeader.c,v 1.1.2.5 2008/01/06 10:25:07 adri Exp $ */ #include @@ -108,12 +108,14 @@ if (b[n] == '\n') { debug(86, 5) ("parse_hdrs: %p: found blank line; end of headers!\n", hdr); retcode = 1; + n++; //ph->bofs = n + 1; break; } if (b[n] == '\r' && n < buf_len(buf) - 1 && b[n+1] == '\n') { debug(86, 5) ("parse_hdrs: %p: found blank line; end of headers!\n", hdr); retcode = 1; + n += 2; //ph->bofs = n + 1; break; }