--------------------- PatchSet 3871 Date: 2006/10/24 14:16:41 Author: rousskov Branch: squid3-icap Tag: (none) Log: - Replaced assertion with Must() and polished parseHead() comment. Members: src/ICAP/ICAPModXact.cc:1.1.2.15->1.1.2.16 Index: squid3/src/ICAP/ICAPModXact.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ICAP/ICAPModXact.cc,v retrieving revision 1.1.2.15 retrieving revision 1.1.2.16 diff -u -r1.1.2.15 -r1.1.2.16 --- squid3/src/ICAP/ICAPModXact.cc 7 Oct 2006 05:08:58 -0000 1.1.2.15 +++ squid3/src/ICAP/ICAPModXact.cc 24 Oct 2006 14:16:41 -0000 1.1.2.16 @@ -758,12 +758,10 @@ state.parsing = State::psBody; } -/* - * Common routine used to parse both HTTP and ICAP headers - */ +// parses both HTTP and ICAP headers bool ICAPModXact::parseHead(HttpMsg *head) { - assert(head); + Must(head); debugs(93, 5, HERE << "have " << readBuf.contentSize() << " head bytes to parse" << "; state: " << state.parsing);