]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
remove wierd QUICK_ABORT_100PCT 128 stuff
authorwessels <>
Thu, 21 May 1998 10:01:01 +0000 (10:01 +0000)
committerwessels <>
Thu, 21 May 1998 10:01:01 +0000 (10:01 +0000)
src/client_side.cc
src/defines.h

index efb3151ce6cb72bfe1ef429da1059c9e4b1f010a..7cd61f0e5298677b61b713671f7f8b94798562d7 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.310 1998/05/21 00:57:36 rousskov Exp $
+ * $Id: client_side.cc,v 1.311 1998/05/21 04:01:02 wessels Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -2180,10 +2180,10 @@ CheckQuickAbort2(const clientHttpRequest * http)
     if ((expectlen - curlen) > Config.quickAbort.max)
        /* too much left to go */
        return 1;
-    if (expectlen < 128)
+    if (expectlen < 100)
        /* avoid FPE */
        return 0;
-    if ((curlen / (expectlen / QUICK_ABORT_100PCT)) > Config.quickAbort.pct)
+    if ((curlen / (expectlen / 100)) > Config.quickAbort.pct)
        /* past point of no return */
        return 0;
     return 1;
index 1f968e032d3b3e196b95888000c27f088bb080dc..ede07b856d11eddcbb495a43b0a3d1aa05b541ea 100644 (file)
 
 #define PINGER_PAYLOAD_SZ 8192
 
-#define QUICK_ABORT_100PCT     128
-
 #define COUNT_INTERVAL 60
 /*
  * keep 60 minutes' worth of per-minute readings (+ current reading)