From: wessels <> Date: Wed, 5 Jan 2000 13:22:19 +0000 (+0000) Subject: remove client-side limit on number of idle persistent connections for X-Git-Tag: SQUID_3_0_PRE1~2093 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=908b422f18210dc31d9702049ebce7d2a794fd76;p=thirdparty%2Fsquid.git remove client-side limit on number of idle persistent connections for now; leave a comment in the place where the code was. --- diff --git a/src/client_side.cc b/src/client_side.cc index 10e13612f1..f24a8ced7a 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.465 1999/12/30 17:36:26 wessels Exp $ + * $Id: client_side.cc,v 1.466 2000/01/05 06:22:19 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -850,9 +850,11 @@ clientSetKeepaliveFlag(clientHttpRequest * http) request->http_ver); debug(33, 3) ("clientSetKeepaliveFlag: method = %s\n", RequestMethodStr[request->method]); - if (memInUse(MEM_CONNSTATEDATA) > 300) - (void) 0; - else if (httpMsgIsPersistent(request->http_ver, req_hdr)) + /* + * If we wanted to limit the number of client-side idle persistent + * connections, this is a good place to do it. + */ + if (httpMsgIsPersistent(request->http_ver, req_hdr)) request->flags.proxy_keepalive = 1; }