#
-# $Id: cf.data.pre,v 1.241 2001/11/23 23:38:52 hno Exp $
+# $Id: cf.data.pre,v 1.242 2001/12/01 18:03:10 hno Exp $
#
#
# SQUID Web Proxy Cache http://www.squid-cache.org/
NAME: request_timeout
TYPE: time_t
LOC: Config.Timeout.request
-DEFAULT: 30 seconds
+DEFAULT: 5 minutes
+DOC_START
+ How long to wait for an HTTP request after initial
+ connection establishment.
+DOC_END
+
+
+NAME: persistent_request_timeout
+TYPE: time_t
+LOC: Config.Timeout.persistent_request
+DEFAULT: 1 minute
DOC_START
- How long to wait for an HTTP request after connection
- establishment. For persistent connections, wait this long
- after the previous request completes.
+ How long to wait for the next HTTP request on a persistent
+ connection after the previous request completes.
DOC_END
should probably change client_lifetime only as a last resort.
If you seem to have many client connections tying up
filedescriptors, we recommend first tuning the read_timeout,
- request_timeout, pconn_timeout and quick_abort values.
+ request_timeout, persistent_request_timeout and quick_abort values.
DOC_END
NAME: half_closed_clients
/*
- * $Id: client_side.cc,v 1.559 2001/11/18 10:20:28 hno Exp $
+ * $Id: client_side.cc,v 1.560 2001/12/01 18:03:10 hno Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
/*
* Set the timeout BEFORE calling clientReadRequest().
*/
- commSetTimeout(conn->fd, Config.Timeout.pconn, requestTimeout, conn);
+ commSetTimeout(conn->fd, Config.Timeout.persistent_request, requestTimeout, conn);
/*
* CYGWIN has a problem and is blocking on read() requests when there
* is no data present.
/*
- * $Id: structs.h,v 1.407 2001/10/24 07:45:35 hno Exp $
+ * $Id: structs.h,v 1.408 2001/12/01 18:03:10 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
time_t connect;
time_t peer_connect;
time_t request;
+ time_t persistent_request;
time_t pconn;
time_t siteSelect;
time_t deadPeer;