Still feeling my way as to what needs group review :]. This is in
response to the problem reported by Mike Kiernan with squid redirectors
losing stdin during peak load.
Objections?
Rob
Index: redirect.c
===================================================================
RCS file: /server/cvs-server/squid/squid/src/redirect.c,v
retrieving revision 1.88
diff -u -p -r1.88 redirect.c
--- redirect.c 2001/03/03 10:39:33 1.88
+++ redirect.c 2001/08/22 09:13:07
@@ -158,7 +158,12 @@ redirectInit(void)
redirectors = helperCreate("redirector");
redirectors->cmdline = Config.Program.redirect;
redirectors->n_to_start = Config.redirectChildren;
+#if HAVE_POLL && defined(_SQUID_OSF_)
+ /* pipes and poll() don't get along on DUNIX -DW */
redirectors->ipc_type = IPC_TCP_SOCKET;
+#else
+ redirectors->ipc_type = IPC_FIFO;
+#endif
helperOpenServers(redirectors);
if (!init) {
cachemgrRegister("redirector",
Received on Wed Aug 22 2001 - 03:31:29 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:15 MST