Re: squid and tcp splicing ?

From: Henrik Nordstrom <>
Date: Wed, 10 Sep 2003 02:00:38 +0200

On Tuesday 09 September 2003 22.21, J.Smith wrote:

> Is Squid capable of doing 'TCP Connection Splicing ?', or does it
> have support for this on the platforms that provide this as a
> kernel service (like AIX 5.2) ?

Squid does application level splicing with multiple receivers (one or
more clients + cache) per server connection. It does not use any
kernel level splicing primitives.

Lower level splicing would not make much sense in Squid as Squid need
access to the data itself for caching and for a large portion of the
traffic (headers) it needs to modify the content before it is
forwarded. And when moving to HTTP/1.1 even less so due to the nature
of the protocol (transfer-encoding etc).

If Squid was just a plain dumb proxy then splicing as described in
these papers would make a better fit. Today only the CONNECT method
is a good fit, but only of the splice primitive includes accounting
allowing the session to be logged correctly and works with
non-blocking sockets.

Received on Tue Sep 09 2003 - 18:00:52 MDT

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