From 37d0359b75bf3c0c112a62debf10aba254220b07 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Thu, 21 May 1998 10:01:01 +0000 Subject: [PATCH] remove wierd QUICK_ABORT_100PCT 128 stuff --- src/client_side.cc | 6 +++--- src/defines.h | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/client_side.cc b/src/client_side.cc index efb3151ce6..7cd61f0e52 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -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; diff --git a/src/defines.h b/src/defines.h index 1f968e032d..ede07b856d 100644 --- a/src/defines.h +++ b/src/defines.h @@ -196,8 +196,6 @@ #define PINGER_PAYLOAD_SZ 8192 -#define QUICK_ABORT_100PCT 128 - #define COUNT_INTERVAL 60 /* * keep 60 minutes' worth of per-minute readings (+ current reading) -- 2.47.3