Having the helpers in the same session / process group as Squid broke
debugging with Squid running in foreground, which is worth more than
to have the process associations entirely correct.
/*
- * $Id: ipc.cc,v 1.45 2007/04/28 22:26:37 hno Exp $
+ * $Id: ipc.cc,v 1.46 2007/06/10 10:43:17 hno Exp $
*
* DEBUG: section 54 Interprocess Communication
* AUTHOR: Duane Wessels
squid_signal(SIGHUP, SIG_IGN, SA_RESETHAND);
}
+#if HAVE_SETSID
+ setsid();
+#endif
+
execvp(prog, (char *const *) args);
debug_log = fdopen(2, "a+");