--------------------- PatchSet 3846 Date: 2006/10/07 05:08:58 Author: rousskov Branch: squid3-icap Tag: (none) Log: - Polished debugging. Members: src/ICAP/ICAPClientRespmodPrecache.cc:1.1.2.5->1.1.2.6 src/ICAP/ICAPModXact.cc:1.1.2.14->1.1.2.15 src/ICAP/ICAPOptXact.cc:1.1.2.4->1.1.2.5 Index: squid3/src/ICAP/ICAPClientRespmodPrecache.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ICAP/ICAPClientRespmodPrecache.cc,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -r1.1.2.5 -r1.1.2.6 --- squid3/src/ICAP/ICAPClientRespmodPrecache.cc 6 Oct 2006 17:53:48 -0000 1.1.2.5 +++ squid3/src/ICAP/ICAPClientRespmodPrecache.cc 7 Oct 2006 05:08:58 -0000 1.1.2.6 @@ -12,7 +12,6 @@ ICAPClientRespmodPrecache::ICAPClientRespmodPrecache(ICAPServiceRep::Pointer aService): ICAPClientVector(aService, "ICAPClientRespmodPrecache"), serverState(NULL) { - debug(93,3)("ICAPClientRespmodPrecache constructed, this=%p\n", this); } void ICAPClientRespmodPrecache::startRespMod(ServerStateData *aServerState, HttpRequest *request, HttpReply *reply) Index: squid3/src/ICAP/ICAPModXact.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ICAP/ICAPModXact.cc,v retrieving revision 1.1.2.14 retrieving revision 1.1.2.15 diff -u -r1.1.2.14 -r1.1.2.15 --- squid3/src/ICAP/ICAPModXact.cc 6 Oct 2006 20:03:37 -0000 1.1.2.14 +++ squid3/src/ICAP/ICAPModXact.cc 7 Oct 2006 05:08:58 -0000 1.1.2.15 @@ -1101,6 +1101,12 @@ if (state.serviceWaiting) buf.append("U", 1); + if (!state.doneReceiving) + buf.append("R", 1); + + if (!doneReading()) + buf.append("r", 1); + if (!state.doneWriting() && state.writing != State::writingInit) buf.Printf("w(%d)", state.writing); Index: squid3/src/ICAP/ICAPOptXact.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ICAP/ICAPOptXact.cc,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -u -r1.1.2.4 -r1.1.2.5 --- squid3/src/ICAP/ICAPOptXact.cc 6 Oct 2006 16:51:36 -0000 1.1.2.4 +++ squid3/src/ICAP/ICAPOptXact.cc 7 Oct 2006 05:08:58 -0000 1.1.2.5 @@ -16,13 +16,11 @@ cb(NULL), cbData(NULL) { - debug(93,9)("ICAPOptXact constructed, this=%p\n", this); } ICAPOptXact::~ICAPOptXact() { Must(!options); // the caller must set to NULL - debug(93,9)("ICAPOptXact destructed, this=%p\n", this); } void ICAPOptXact::start(ICAPServiceRep::Pointer &aService, Callback *aCb, void *aCbData)