#
-# $Id: cf.data.pre,v 1.254 2002/04/05 08:55:22 hno Exp $
+# $Id: cf.data.pre,v 1.255 2002/04/07 03:35:30 hno Exp $
#
#
# SQUID Web Proxy Cache http://www.squid-cache.org/
'icp_query_timeout' directive.
DOC_END
+NAME: minimum_icp_query_timeout
+COMMENT: (msec)
+DEFAULT: 5
+TYPE: int
+LOC: Config.Timeout.icp_query_max
+DOC_START
+ Normally the ICP query timeout is determined dynamically. But
+ sometimes it can lead to very small timeouts, even lower than
+ the normal latency variance on your link due to traffic.
+ Use this option to put an lower limit on the dynamic timeout
+ value. Do NOT use this option to always use a fixed (instead
+ of a dynamic) timeout value. To set a fixed timeout see the
+ 'icp_query_timeout' directive.
+DOC_END
+
NAME: mcast_icp_query_timeout
COMMENT: (msec)
DEFAULT: 2000
/*
- * $Id: neighbors.cc,v 1.299 2001/10/17 20:25:02 hno Exp $
+ * $Id: neighbors.cc,v 1.300 2002/04/07 03:35:30 hno Exp $
*
* DEBUG: section 15 Neighbor Routines
* AUTHOR: Harvest Derived
if (Config.Timeout.icp_query_max)
if (*timeout > Config.Timeout.icp_query_max)
*timeout = Config.Timeout.icp_query_max;
+ if (*timeout < Config.Timeout.icp_query_min)
+ *timeout = Config.Timeout.icp_query_min;
}
return peers_pinged;
}
/*
- * $Id: structs.h,v 1.414 2002/04/06 08:49:28 adrian Exp $
+ * $Id: structs.h,v 1.415 2002/04/07 03:35:30 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
time_t deadPeer;
int icp_query; /* msec */
int icp_query_max; /* msec */
+ int icp_query_min; /* msec */
int mcast_icp_query; /* msec */
#if USE_IDENT
time_t ident;