#
-# $Id: cf.data.pre,v 1.262 2002/06/18 10:54:17 hno Exp $
+# $Id: cf.data.pre,v 1.263 2002/06/21 12:58:20 hno Exp $
#
#
# SQUID Web Proxy Cache http://www.squid-cache.org/
cached then set 'quick_abort_min' to '-1 KB'.
DOC_END
+NAME: read_ahead_gap
+COMMENT: buffer-size
+TYPE: kb_size_t
+LOC: Config.readAheadGap
+DEFAULT: 16 KB
+DOC_START
+ The amount of data the cache will buffer ahead of what has been
+ sent to the client when retrieving an object from another server.
+DOC_END
NAME: negative_ttl
COMMENT: time-units
/*
- * $Id: defines.h,v 1.103 2002/06/04 15:04:05 hno Exp $
+ * $Id: defines.h,v 1.104 2002/06/21 12:58:20 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
#define ERROR_BUF_SZ (MAX_URL << 2)
#endif
-#define READ_AHEAD_GAP (1<<14)
-
#if SQUID_SNMP
#define VIEWINCLUDED 1
#define VIEWEXCLUDED 2
/*
- * $Id: forward.cc,v 1.84 2002/04/13 23:07:50 hno Exp $
+ * $Id: forward.cc,v 1.85 2002/06/21 12:58:20 hno Exp $
*
* DEBUG: section 17 Request Forwarding
* AUTHOR: Duane Wessels
#endif
if (EBIT_TEST(e->flags, ENTRY_FWD_HDR_WAIT))
return rc;
- if (mem->inmem_hi - storeLowestMemReaderOffset(e) < READ_AHEAD_GAP)
+ if (mem->inmem_hi - storeLowestMemReaderOffset(e) < Config.readAheadGap)
return rc;
return 1;
}
/*
- * $Id: structs.h,v 1.419 2002/06/18 22:52:32 hno Exp $
+ * $Id: structs.h,v 1.420 2002/06/21 12:58:20 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
int pct;
size_t max;
} quickAbort;
+ size_t readAheadGap;
RemovalPolicySettings *replPolicy;
RemovalPolicySettings *memPolicy;
time_t referenceAge;