Re: Read timeout POST and mp3.com

From: Duane Wessels <wessels@dont-contact.us>
Date: Mon, 15 Feb 1999 14:57:11 -0700

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
Received on Mon Feb 15 1999 - 14:51:58 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:34 MST