]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Cancel the FD timeout if we don't keep the persistent connection
authorwessels <>
Fri, 24 Oct 1997 02:42:53 +0000 (02:42 +0000)
committerwessels <>
Fri, 24 Oct 1997 02:42:53 +0000 (02:42 +0000)
src/pconn.cc

index 962950bd92855c2c44a14e8bbd360640fe5258dc..75c63714d93c57ae8879361610e7c175cb66a49d 100644 (file)
@@ -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;