Deepa D writes:

> Hi,
> Squid is not closing the redirect children when it
> is shutdown.Why is it so? Do I have to incorporate
> some code in the redirector program for this?


[...]

The redirectors should suicide when they receive EOF on stdin.

In PERL code:

#!/usr/bin/perl
&init();
while (<>) {
&do_work($_);
}
exit(0);


--
kinkie (kinkie-squid [at] kinkie [dot] it)
Random fortune, unrelated to the message:
Why are you doing this to me?
Because knowledge is torture, and there must be awareness before
there is change.
-- Jim Starlin, "Captain Marvel", #29