Re: [squid-users] Squid redirect problem

From: Kinkie <kinkie-squid@dont-contact.us>
Date: Fri, 16 Jan 2004 16:11:41 +0100

Deepa D <deepndharma@yahoo.co.in> 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
Received on Fri Jan 16 2004 - 08:11:45 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:06 MST