Re: What is the mechanism for killing a redirector process?

From: Joao Carlos Mendes Luis <jonny@dont-contact.us>
Date: Mon, 30 Jun 1997 09:52:02 -0300 (EST)

#define quoting(Simon Rainey)
// Hi all,
//
// I've written a redirector in C and everything works fine except that if I
// kill the Squid process I'm left with redirectors running. As far as I can
// tell, Squid doesn't pass on the kill signal to the redirectors, although
// HUP signals are passed on. Squid appears to kill the dnsserver processes by
// sending the string "$shutdown", but no such string is passed to the
// redirector processes. Can anyone shed some light on the subject?

Since the pipe between squid and your program was broken, you should
received an error in the standard input read.

Also, in some system, you would receive a Broken Pipe Signal (SIGPIPE)

                                        Jonny

--
Joao Carlos Mendes Luis			jonny@gta.ufrj.br
+55 21 290-4698 ( Job )			jonny@cisi.coppe.ufrj.br
Network Manager				UFRJ/COPPE/CISI
Universidade Federal do Rio de Janeiro
Received on Mon Jun 30 1997 - 05:56:51 MDT

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