From: hno <> Date: Tue, 22 Oct 2002 15:40:29 +0000 (+0000) Subject: Added a level 9 debug statement dumping the helper receive buffer X-Git-Tag: SQUID_3_0_PRE1~583 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b67308c4f3cfd2cc9fe5160224f0e10e9030557;p=thirdparty%2Fsquid.git Added a level 9 debug statement dumping the helper receive buffer to ease debugging of helper interactions --- diff --git a/src/helper.cc b/src/helper.cc index 81e78f2a30..3d8f3928a1 100644 --- a/src/helper.cc +++ b/src/helper.cc @@ -1,6 +1,6 @@ /* - * $Id: helper.cc,v 1.52 2002/10/21 22:17:32 hno Exp $ + * $Id: helper.cc,v 1.53 2002/10/22 09:40:29 hno Exp $ * * DEBUG: section 84 Helper process maintenance * AUTHOR: Harvest Derived? @@ -722,6 +722,7 @@ helperHandleRead(int fd, char *buf, size_t len, comm_err_t flag, int xerrno, voi } srv->offset += len; srv->buf[srv->offset] = '\0'; + debug(84, 9) ("helperHandleRead: '%s'\n", srv->rbuf); r = srv->request; if (r == NULL) { /* someone spoke without being spoken to */