Jonathan Larmour writes:

>Perhaps pumpServerCopy() in pump.c should contain the line:
>
>        commSetTimeout(p->s_fd, Config.Timeout.read, pumpTimeout, p);
>
>at the end?

Oops, this is what I was thinking.  Being sure to clear the client-side
read timeout after we've read everything.

cvs -q diff -u pump.c
Index: pump.c
===================================================================
RCS file: /surf1/CVS/squid/src/pump.c,v
retrieving revision 1.71
diff -u -r1.71 pump.c
--- pump.c      1999/01/29 23:39:22     1.71
+++ pump.c      1999/02/15 21:56:02
@@ -294,6 +294,7 @@
     debug(61, 2) ("pumpReadFromClient: finished!\n");
     storeComplete(req);
     commSetDefer(p->c_fd, NULL, NULL);
+    commSetTimeout(p->c_fd, -1, NULL, NULL);
 }
 
 static int

Reply via email to