Re: [squid-users] Q: Can Squid act as a protocol forwarder as well as proxy?

From: Henrik Nordstrom <[email protected]>
Date: Thu, 27 Dec 2001 02:16:09 +0100

On Wednesday 26 December 2001 06.01, Yossie Silverman wrote:

> Can Squid be configured to send out, on a continuously open
> connection (ideally), the URL being requested to ANOTHER Squid (on
> the other side) which then packages together ALL the bits and pieces
> that make up the page (to it's best ability) and sends them back as
> one large streaming packet which is used to satisfy the request.

Squid does not actively try to make sure there is connections open, but it
will reuse previously opened connections where possible.

The default configuration closes such "idle" connections pretty quickly, but
changing this to be considerably more aggressive in keeping connections open
is only a matter of tuning squid.conf. See the pconn_timeout option(s). The
timeout needs to be adjusted in both Squid's as there is one timeout for how
long to keep a outgoing persistent connection open, and another timeout for
how long to wait for a request to arrive on a connection held open by a
client/child cache.

If you want even more aggressive maintenance of persistent connections to
peer caches like ensuring that there "always" is a pool of idle connections
available then some hours of C coding will be required ot add the feature.

If you like then you can contract me or any of the other Squid developers for
some hours to implement active idle connection pooling, ensuring that there
at is at least N connections open.

Regards
Henrik Nordstr�m

--
MARA Systems AB, Giving you basic free Squid support
Customized solutions, packaged solutions and priority support
available on request
Received on Wed Dec 26 2001 - 18:24:05 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:29 MST