[PATCH] pipeline-shutup.patch

From: Miquel van Smoorenburg <miquels@dont-contact.us>
Date: Mon, 10 Dec 2001 13:44:53 +0100

This patch is part of the patchset I'm using in the Debian squid-2.4.3
package. Though the patches here are against 2.4.3, they should apply
to 2.5 with minor difficulty.

pipeline-shutup.patch Lower priority of some debug msgs of pipelining code

The Debian 'apt' utility actually uses pipelining, and then the squid
logs fill up with debug code. Probably because not many people use
the pipelining code ;)

BTW, I had to turn off pipelining in 2.2 an 2.3 because it didn't
work very well, but I've had no complaints with 2.4 yet.

--- squid-2.4.1/src/client_side.c.orig Thu Mar 22 21:05:08 2001
+++ squid-2.4.1/src/client_side.c Tue Mar 27 17:14:05 2001
@@ -1699,7 +1699,7 @@
         fd, storeUrl(entry), (int) http->out.offset);
     if (conn->chr != http) {
         /* there is another object in progress, defer this one */
- debug(33, 1) ("clientSendMoreData: Deferring %s\n", storeUrl(entry));
+ debug(33, 3) ("clientSendMoreData: Deferring %s\n", storeUrl(entry));
         memFree(buf, MEM_CLIENT_SOCK_BUF);
         return;
     } else if (entry && EBIT_TEST(entry->flags, ENTRY_ABORTED)) {
@@ -1873,7 +1873,7 @@
          * execution will resume after the operation completes.
          */
     } else {
- debug(33, 1) ("clientKeepaliveNextRequest: FD %d Sending next\n",
+ debug(33, 3) ("clientKeepaliveNextRequest: FD %d Sending next\n",
             conn->fd);
         assert(entry);
         if (0 == storeClientCopyPending(http->sc, entry, http)) {
Received on Mon Dec 10 2001 - 19:04:24 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:40 MST