]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
For client-side idle persistent connections, now use the value of
authorwessels <>
Sat, 11 Dec 1999 22:55:08 +0000 (22:55 +0000)
committerwessels <>
Sat, 11 Dec 1999 22:55:08 +0000 (22:55 +0000)
Config.Timeout.pconn instead of hard-coded 15 seconds.

src/client_side.cc

index 11eb3c1309861cfe1d281e843c7bc00a7066cf25..75a727c19182b11868668fdc38665750662e4b6c 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.462 1999/10/04 05:05:04 wessels Exp $
+ * $Id: client_side.cc,v 1.463 1999/12/11 15:55:08 wessels Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -1729,7 +1729,7 @@ clientKeepaliveNextRequest(clientHttpRequest * http)
        /*
         * Set the timeout BEFORE calling clientReadRequest().
         */
-       commSetTimeout(conn->fd, 15, requestTimeout, conn);
+       commSetTimeout(conn->fd, Config.Timeout.pconn, requestTimeout, conn);
        clientReadRequest(conn->fd, conn);      /* Read next request */
        /*
         * Note, the FD may be closed at this point.