From: wessels <> Date: Fri, 24 Oct 1997 02:42:53 +0000 (+0000) Subject: Cancel the FD timeout if we don't keep the persistent connection X-Git-Tag: SQUID_3_0_PRE1~4725 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=055779d4cef2d254a08bf28d8d559b1c73d218c2;p=thirdparty%2Fsquid.git Cancel the FD timeout if we don't keep the persistent connection --- diff --git a/src/pconn.cc b/src/pconn.cc index 962950bd92..75c63714d9 100644 --- a/src/pconn.cc +++ b/src/pconn.cc @@ -1,5 +1,5 @@ /* - * $Id: pconn.cc,v 1.3 1997/08/24 00:37:04 wessels Exp $ + * $Id: pconn.cc,v 1.4 1997/10/23 20:42:53 wessels Exp $ * * DEBUG: section 48 Persistent Connections * AUTHOR: Duane Wessels @@ -140,6 +140,7 @@ pconnPush(int fd, const char *host, u_short port) key, p->nfds); close(fd); xfree(key); + commSetTimeout(fd, -1, NULL, NULL); return; } p->fds[p->nfds++] = fd;