--------------------- PatchSet 1935 Date: 2005/10/05 18:02:08 Author: rousskov Branch: squid3-icap Tag: (none) Log: - added TODO notes. Members: src/ICAPXaction.cc:1.1.2.43->1.1.2.44 Index: squid3/src/ICAPXaction.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/Attic/ICAPXaction.cc,v retrieving revision 1.1.2.43 retrieving revision 1.1.2.44 diff -u -r1.1.2.43 -r1.1.2.44 --- squid3/src/ICAPXaction.cc 4 Oct 2005 04:25:09 -0000 1.1.2.43 +++ squid3/src/ICAPXaction.cc 5 Oct 2005 18:02:08 -0000 1.1.2.44 @@ -489,6 +489,7 @@ http_status error = HTTP_STATUS_NONE; const bool parsed = head->parse(&readBuf, state.doneReading, &error); + // TODO: replace the if below with Must(parsed || !error); if (!parsed && error > 0) { // unrecoverable parsing error debugs(11, 1, "ICAPXaction::parseHead: failed to parse ICAP header: '" << readBuf.content() << "'"); notify = notifyHttp; @@ -562,7 +563,7 @@ ICAPXaction_Enter(noteSourceProgress); Must(!state.doneReceiving); - writeMoreBody(); + writeMoreBody(); // TODO: add writeMore(); we may still be writing headers ICAPXaction_Exit(noteSourceProgress); }