--------------------- PatchSet 1866 Date: 2005/09/24 05:14:52 Author: rousskov Branch: squid3-icap Tag: (none) Log: - Added comments. Members: src/ICAPXaction.cc:1.1.2.27->1.1.2.28 Index: squid3/src/ICAPXaction.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/Attic/ICAPXaction.cc,v retrieving revision 1.1.2.27 retrieving revision 1.1.2.28 diff -u -r1.1.2.27 -r1.1.2.28 --- squid3/src/ICAPXaction.cc 24 Sep 2005 04:51:59 -0000 1.1.2.27 +++ squid3/src/ICAPXaction.cc 24 Sep 2005 05:14:52 -0000 1.1.2.28 @@ -21,6 +21,8 @@ // TODO: state.doneSending/Receving data members should probably be in sync // with this->adapted/virgin pointers. Make doneSending/Receving methods? +// TODO: replace gotEncapsulated() with something faster; we call it often + /* comm module handlers (wrappers around corresponding ICAPXaction methods */ // TODO: Teach comm module to call object methods directly @@ -440,7 +442,7 @@ void ICAPXaction::maybeAllocateHttpMsg() { - if (adapted->data->header) + if (adapted->data->header) // already allocated return; if (gotEncapsulated("res-hdr")) {