--------------------- PatchSet 4085 Date: 2007/03/08 05:24:22 Author: rousskov Branch: squid3-icap Tag: (none) Log: - BodyPipe::status() is using a static buffer and, hence, can only be called once per debug() statement. Members: src/ICAP/ICAPModXact.cc:1.1.2.22->1.1.2.23 Index: squid3/src/ICAP/ICAPModXact.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ICAP/ICAPModXact.cc,v retrieving revision 1.1.2.22 retrieving revision 1.1.2.23 diff -u -r1.1.2.22 -r1.1.2.23 --- squid3/src/ICAP/ICAPModXact.cc 20 Feb 2007 16:22:30 -0000 1.1.2.22 +++ squid3/src/ICAP/ICAPModXact.cc 8 Mar 2007 05:24:22 -0000 1.1.2.23 @@ -473,7 +473,9 @@ const size_t sizeMax = virginContentSize(virginBodySending); debugs(93,5, HERE << "will echo up to " << sizeMax << " bytes from " << - virgin.body_pipe->status() << " to " << adapted.body_pipe->status()); + virgin.body_pipe->status()); + debugs(93,5, HERE << "will echo up to " << sizeMax << " bytes to " << + adapted.body_pipe->status()); if (sizeMax > 0) { const size_t size = adapted.body_pipe->putMoreData(virginContentData(virginBodySending), sizeMax);