]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
remove Keepalive Ratio debug
authorwessels <>
Sat, 1 Nov 1997 06:37:24 +0000 (06:37 +0000)
committerwessels <>
Sat, 1 Nov 1997 06:37:24 +0000 (06:37 +0000)
src/http.cc

index e1d8ce194148b3a2709041f248d9c6ed3e566cd0..511854c3b2f0385dbb6871d3380ecbbaee3ddf2f 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: http.cc,v 1.213 1997/10/31 20:46:23 wessels Exp $
+ * $Id: http.cc,v 1.214 1997/10/31 23:37:24 wessels Exp $
  *
  * DEBUG: section 11    Hypertext Transfer Protocol (HTTP)
  * AUTHOR: Harvest Derived
@@ -873,7 +873,6 @@ httpSendRequest(int fd, void *data)
     int buftype = 0;
     StoreEntry *entry = httpState->entry;
     int cfd;
-    static int xcount = 0;
     peer *p = httpState->peer;
     double d;
 
@@ -907,8 +906,6 @@ httpSendRequest(int fd, void *data)
        if (p) {
            d = (double) p->stats.n_keepalives_recv /
                (double) ++p->stats.n_keepalives_sent;
-           if ((xcount++ & 0x3F) == 0)
-               debug(0, 0) ("%s Keepalive Ratio = %f\n", p->host, d);
            if (d > 0.50 || p->stats.n_keepalives_sent < 10)
                BIT_SET(httpState->flags, HTTP_KEEPALIVE);
        } else {