--------------------- PatchSet 1204 Date: 2005/01/28 19:47:19 Author: nlewycky Branch: prefetching Tag: (none) Log: Fix logical not by substitution "is this a partial chunk" flag for the expected "is this a terminal chunk" value. It will now parse beyond the first TCP packet. Members: src/HTMLAnalysisStream.cc:1.1.2.1->1.1.2.2 Index: squid3/src/HTMLAnalysisStream.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/Attic/HTMLAnalysisStream.cc,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- squid3/src/HTMLAnalysisStream.cc 26 Jan 2005 19:51:33 -0000 1.1.2.1 +++ squid3/src/HTMLAnalysisStream.cc 28 Jan 2005 19:47:19 -0000 1.1.2.2 @@ -1,6 +1,6 @@ /* - * $Id: HTMLAnalysisStream.cc,v 1.1.2.1 2005/01/26 19:51:33 nlewycky Exp $ + * $Id: HTMLAnalysisStream.cc,v 1.1.2.2 2005/01/28 19:47:19 nlewycky Exp $ * * DEBUG: section 93 HTML parsing and fetching * AUTHOR: Nick Lewycky @@ -131,7 +131,7 @@ { debugs(93, 1, "chunk to parse, " << len << " long " << (partial?"partial":"")); debugs(93, 1, "chunk is: " << string(document, len)); - htmlParseChunk(parser, document, len, partial ? 1 : 0); + htmlParseChunk(parser, document, len, partial ? 0 : 1); } void