]> git.ipfire.org Git - thirdparty/squid.git/commit
Author: Francesco Chemolli <kinkie@squid-cache.org>
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 2 Jan 2010 05:00:34 +0000 (18:00 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 2 Jan 2010 05:00:34 +0000 (18:00 +1300)
commite3d9712e99f7066e9a33c51faf6732d644ab1675
treea133807def2415e0aa8bab15ad0c7a026b00bc73
parentab2ecb0ef760ba76471199c3f1b234ea6545659b
Author: Francesco Chemolli <kinkie@squid-cache.org>
Helper Multiplexer

The helper multiplexer's purpose is to relieve some of the burden
squid has when dealing with slow helpers. It does so by acting as a
middleman between squid and the actual helpers, talking to squid via
the multiplexed variant of the helper protocol and to the helpers
via the non-multiplexed variant.

Helpers are started on demand, and in theory the muxer can handle up to
1k helpers per instance. It's up to squid to decide how many helpers
to start.

The muxer knows nothing about the actual messages being passed around,
and as such can't really (yet?) compensate for broken helpers.
It is not yet able to manage dying helpers, but it will.

The helper can be controlled using various signals:
- SIGHUP: dump the state of all helpers to STDERR
tools/Makefile.am
tools/helper-mux.README [new file with mode: 0644]
tools/helper-mux.pl [new file with mode: 0644]
tools/helper-ok-dying.pl [new file with mode: 0644]
tools/helper-ok.pl [new file with mode: 0644]